Answers for "check end of route name in laravel"

PHP
1

laravel route is current route

Route::currentRouteName()
Route::getCurrentRoute()->getPath();
Request::route()->getName()
Route::currentRouteName(); //use IlluminateSupportFacadesRoute;
Route::getCurrentRoute()->getActionName();
$uri = $request->path();
Posted by: Guest on December-05-2021
0

laravel current route name

$route = Route::current();

$name = Route::currentRouteName();

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

Browse Popular Code Answers by Language