get current url route name laravel code example
Example 1: laravel get current route name
Route::currentRouteName()
Example 2: current url route laravel
\Route::current()
############### OR ####################
$request->getRequestUri()
Route::currentRouteName()
\Route::current()
############### OR ####################
$request->getRequestUri()