Answers for "laravel route set name"

PHP
3

laravel get current route name

Route::currentRouteName()
Posted by: Guest on July-24-2020
1

laravel get current route name

request()->route()->getName()
Posted by: Guest on May-21-2021
0

what is route namespace in laravel

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

Browse Popular Code Answers by Language