Laravel 4.2 - Environment detection - homestead.yaml vs. start.php
问题 Homestead version: 2.0.7 Laravel version: 4.2.16 I'm just starting to learn Laravel, and I'm confused about the difference between environment configurations with start.php and homestead.yaml. Here's what I have: start.php: $env = $app->detectEnvironment(array( 'local' => array('josh-linux'), 'production' => array('homestead') )); homestead.yaml: variables: - key: APP_ENV value: testing123 If I run 'php artisan env' in the terminal it says 'local', and if I ssh into my homestead box and run