PHP code example of folivaresrios / overseer

1. Go to this page and download the library: Download folivaresrios/overseer 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/ */

    

folivaresrios / overseer example snippets


'providers' => [
    //...
    KissDev\Overseer\OverseerServiceProvider::class,
    //...
];

'aliases' => [
    // ...
    'Overseer' => KissDev\Overseer\Facades\Overseer::class,
    // ...
],

protected $routeMiddleware = [
    //...
    'profile.overseer' => \KissDev\Overseer\Middleware\UserHasProfile::class,
    'permissions.overseer' => \KissDev\Overseer\Middleware\UserHasPermission::class,
    //...
];

php artisan vendor:publish
php artisan migrate