How to use flatten() helper function to convert a multi-dimensional array into a single array
request()->getSchemeAndHttpHost()
//Or,
$_SERVER['SERVER_NAME']
//Or,
url('/')
Subscribe to the Email Newsletter