Retrieve request URL without specific query parameters in Laravel
September 24, 2021 — When you have a request in hand and if the URL is having a query string with different parameters, the easiest way to get the entire URL with the query string is using the fullUrl()
method like so.