Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

getting routes in middleware laravel

$route = Route::getRoutes()->match($request);
$route->getActionName();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #routes #middleware #laravel
ADD COMMENT
Topic
Name
3+8 =