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.

Related concepts

Request Path & Method: Retrieving The Request URL — Structure map

Clickable & Draggable!

Request Path & Method: Retrieving The Request URL — Related pages: