lundi 3 octobre 2016

How do you get the HTTP host with Laravel 5

I'm trying to get the hostname from an HTTP request using Laravel 5, including the subdomain (e.g., dev.site.com). I can't find anything about this in the docs, but I would think that should be pretty simple. Anyone know how to do this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire