After upgrading to Laravel 5.2, none of my .env file values are being read. I followed the upgrade instructions; none of my config files were changed except aut
From the official Laravel 5.2 Upgrade Notes:
If you are using the
config:cachecommand during deployment, you must make sure that you are only calling theenvfunction from within your configuration files, and not from anywhere else in your application.If you are calling
envfrom within your application, it is strongly recommended you add proper configuration values to your configuration files and callenvfrom that location instead, allowing you to convert yourenvcalls toconfigcalls.
Reference: https://laravel.com/docs/5.2/upgrade#upgrade-5.2.0