Answers for "laravel 4.2 route get current route"

PHP
1

get current route laravel

get URL:
{{ Request::url() }} // http://localhost/path

get path:
{{ Request::path() }} // path
Posted by: Guest on August-23-2021
0

laravel route Accessing The Current Route

$route = Route::current();

$name = Route::currentRouteName();

$action = Route::currentRouteAction();
Posted by: Guest on July-24-2021

Code answers related to "laravel 4.2 route get current route"

Browse Popular Code Answers by Language