PHP code example of dogado / laroute
1. Go to this page and download the library: Download dogado/laroute 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/ */
dogado / laroute example snippets
Route::get('/ignore-me', [
'laroute' => false,
'as' => 'ignoreme',
'uses' => 'IgnoreController@me'
]);
Route::group(['laroute' => false], function () {
Route::get('/groups-are-super-useful', 'GroupsController@index');
});
php artisan vendor:publish --provider='Dogado\Laroute\LarouteServiceProvider'
php artisan laroute:generate