How to get current URL or path in Blade.
Get Current URL in a Blade View
{{url("/")}} i am using this for getting current url.
Answer (1)
best view answer
echo Request::fullUrl()
echo Request::url();
echo Request::path()
echo Request::segment(1);
echo Request::is("admin/*")