Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route is current route

Route::currentRouteName()
Route::getCurrentRoute()->getPath();
Request::route()->getName()
Route::currentRouteName(); //use IlluminateSupportFacadesRoute;
Route::getCurrentRoute()->getActionName();
$uri = $request->path();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #current #route
ADD COMMENT
Topic
Name
6+9 =