get request url laravel code example
Example 1: get request uri from request laravel 7
Try to use the following:
\Request::getRequestUri()
Example 2: laravel get query parameters
$name = $request->query('name', 'Helen');
Example 3: laravel get last get request
{{ url()->previous() }}
Example 4: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object
Example 5: how to see with page reuested in laravel
$request->fullUrl()