Answers for "laravel route ?"

PHP
1

Laravel Routing

Route::namespace('Admin')->group(function () {
    // Controllers Within The "AppHttpControllersAdmin" Namespace
});
Posted by: Guest on March-31-2021
2

laravel route pattern

Route::pattern('id', '[0-9]+');
Route::get('user/{id}', function ($id) {
    // Only executed if {id} is numeric...
});
Posted by: Guest on May-18-2020

Browse Popular Code Answers by Language