August 3, 2021 | 1 min read
Get the current url
here using the Request::url() method. It will return the entire URL, but strip the query string from it.
Url: {{ Request::url() }}
Output
Url: http://localhost:8000/post/demo
Copyright © 2025