PHP code example of rickselby / laravel-permissions-setup
1. Go to this page and download the library: Download rickselby/laravel-permissions-setup 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/ */
rickselby / laravel-permissions-setup example snippets
// config/app.php
'providers' => [
...
RickSelby\Permission\PermissionServiceProvider::class,
];
bash
php artisan vendor:publish --provider="RickSelby\Permission\PermissionServiceProvider" --tag="config"
bash
php artisan permission:update