PHP code example of dogadogmbh / laroute
1. Go to this page and download the library: Download dogadogmbh/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/ */
dogadogmbh / 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