Laravel obtenga el nombre de la ruta actual
Route::currentRouteName()
Beautiful Bird
Route::currentRouteName()
request()->route()->getName()
get URL:
{{ Request::url() }} // http://localhost/path
get path:
{{ Request::path() }} // path
<p> Path: {{ Request::path() }} </p>
Route::getCurrentRoute()->getActionName();
$route = Route::current();
$name = Route::currentRouteName();
$action = Route::currentRouteAction();