Request Path & Method: Retrieving The Request URL
Retrieving The Request URL
// Without Query String...
$url = $request->url();
// With Query String...
$url = $request->fullUrl(); To retrieve the full URL for the incoming request you may use the url or fullUrl methods.
Semantic portal