Holen Sie sich Domain -URL mit HTTPS in Laravel

1. $host = request()->getHttpHost(); Output : laravel.com.
2. $getHost = request()->getHost(); Output : laravel.com.
3. $hostwithHttp = request()->getSchemeAndHttpHost(); Output : https://laravel.com
Tyagi420