Laravel env bootstrap/start.php $env = $app->detectEnvironment 開発環境は ... local 本番環境は ... production にしとくのがlaravelっぽい設定か。 Read on