laravel get domain name from string code example Example: laravel get current domain request()->getHost();