PHP code example of skydiver / laravel-route-blocker
1. Go to this page and download the library: Download skydiver/laravel-route-blocker 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/ */
skydiver / laravel-route-blocker example snippets
'providers' => [
...
Skydiver\LaravelRouteBlocker\LaravelRouteBlockerServiceProvider::class,
]
bash
$ php artisan vendor:publish --tag=LaravelRouteBlocker
$ php artisan route:blocks:groups