Solution for "laravel gethttps and hostname"

$host = $request->getSchemeAndHttpHost(); // returns https://dev.site.com

laravel get host with http

Similar codes for "laravel gethttps and hostname"


Latest 'PHP' questions

Added before "laravel gethttps and hostname"