laravel get current url only domain code example Example: laravel get current domain request()->getHost();