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