In my config/app.php file, the app environment variable it set like this: 'env' => env('APP_ENV', 'production'),. Meanwhile in the .env file, the app environment is set to APP_ENV=local.
It appears as though only the .env file matters. The app behaves as though the environment is local.
php artisan env returns
Current application environment: local
Is there some instance when I should make modifications to the app.php file instead of the .env file? Should the variables in the app file just be ignored?