Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get full current url in laravel

//get current url
use IlluminateSupportFacadesRoute;
Route::getFacadeRoot()->current()->uri();
//get current full url
$url = url()->current();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #full #current #url #laravel
ADD COMMENT
Topic
Name
9+6 =