title: How to select environment by ip in Laravel
body: <p>I want laravel to set the environment to "local" when the visitor is from 127.0.0.1, however the Request object is not available yet in bootstrap/start. Is there any built-in way to do this, or am I going to have to directly access <code>$_SERVER['HTTP_CLIENT_IP']</code>?</p>