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=
Similar to Yada's answer: $request->url() will also work if you are injecting Illuminate\Http\Request
Edit: The difference between fullUrl and url is the fullUrl includes your query parameters