1. Go to this page and download the library: Download alextigaer/team-auth library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alextigaer / team-auth example snippets
sh
php artisan team-auth:create RoleName
sh
// Create the role without creating the controllers
php artisan team-auth:create RoleName --controllers=n
sh
// Create the role without creating the views
php artisan team-auth:create RoleName --views=n
sh
// Create the role without creating the model
php artisan team-auth:create RoleName --model=n
sh
// Create the role without creating the migrations
php artisan team-auth:create RoleName --migrations=n
sh
// Create the role without creating the seeder
php artisan team-auth:create RoleName --seeder=n
sh
php artisan team-auth:create Admin --m=y --seeder=n
sh
php artisan team-auth:create Mod --r=n
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.