laravel get current route name
snippet in php

laravel get current route name

user3389

Route::currentRouteName()

laravel get current route name

user3902

Route::getCurrentRoute()->getActionName();