laravel get current url domain code example
Example 1: laravel get current domain
request()->getHost();
Example 2: current URL without url site laravel
is work
{{Request::path()}}
or
request()->path()
request()->getHost();
is work
{{Request::path()}}
or
request()->path()