Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

laravel get url path

$currentURL = URL::current(); PHP.
$url = URL::to("/"); or use $url = url('/'); PHP.
$route = Route::current()->getName(); PHP.
$prefix = Request::route()->getPrefix(); PHP.
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #url #path
ADD COMMENT
Topic
Name
5+6 =