laravel request url 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 data from request
dd($request->all());
//print an array of the input name and the input value