Uzyskaj adres URL domeny z HTTPS w Laravel
1. $host = request()->getHttpHost(); Output : laravel.com.
2. $getHost = request()->getHost(); Output : laravel.com.
3. $hostwithHttp = request()->getSchemeAndHttpHost(); Output : https://laravel.com
Tyagi420