Is there a Laravel way to get the current path of a Request with its query parameters?
For instance, for the URL:
http://www.example.com/one/two?key=
Just putting it out there..... docs: https://laravel.com/docs/7.x/requests
Get the current URL including the query string.
echo url()->full();
$request->fullUrl() will also work if you are injecting Illumitate\Http\Request.
$request->fullUrl()
Illumitate\Http\Request