Answers for "get domain laravel"

PHP
0

laravel get current domain

request()->getHost();
Posted by: Guest on April-22-2020
0

laravel get host with http

$host = $request->getSchemeAndHttpHost(); // returns https://dev.site.com
Posted by: Guest on May-07-2020

Browse Popular Code Answers by Language