0

Is it possible to get the route name of a given URL in Laravel 5? The Route::currentRouteName() is just getting the route name of the CURRENT url. Instead, how can I get the route name of a given url? Something like Route::getRouteName('http://example.com/users')?

basagabi
  • 4,900
  • 6
  • 38
  • 84

0 Answers0