Skip to content

Instantly share code, notes, and snippets.

@fpigeonjr
Last active January 17, 2016 21:48
Show Gist options
  • Save fpigeonjr/e19ca92d76c14b84cd98 to your computer and use it in GitHub Desktop.
Save fpigeonjr/e19ca92d76c14b84cd98 to your computer and use it in GitHub Desktop.
bootstrap/start.php
/*
|--------------------------------------------------------------------------
| Detect The Application Environment
|--------------------------------------------------------------------------
|
| Laravel takes a dead simple approach to your application environments
| so you can just specify a machine name for the host that matches a
| given environment, then we will automatically detect it for you.
|
*/
$env = $app->detectEnvironment(array(
'local' => array('homestead'),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment