Answers for "laravel get current route form method"

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

laravel route Accessing The Current Route

$route = Route::current();

$name = Route::currentRouteName();

$action = Route::currentRouteAction();
Posted by: Guest on July-24-2021

Code answers related to "laravel get current route form method"

Browse Popular Code Answers by Language