Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get host with http

$host = $request->getSchemeAndHttpHost(); // returns https://dev.site.com
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #host #http
ADD COMMENT
Topic
Name
4+4 =