Support the ongoing development of Laravel.io →
posted 8 years ago
Configuration
Last updated 1 year ago.
0

Well Laravel used to do this and moved to the DotEnv. It is very similar in he sense of you can have the defaults be production or local, or what ever and then define the. env file on the machine you are deploying to.

0

It means I can consider .env file as a local override file ? and in Lumen what I tried to use there is no config folder at all. Maybe you can point me to documentation page, for latest laravel/lumen ?

thanks

0

Just for clarification why Lumen has no app/config folder anymore ? and Lumen moved from this solution to DotEnv how to organize nested environments ? like production, staging, dev,local .... ? In way that staging will inherit everything from production, dev from staging etc.. and will be able to override any values

0

They moved away from those files as a whole, mainly for security, from my understanding, since .env files shouldn't be committed. Basically you set up what you want the values to be in the env file vs having cascading config files.

Anyway here's Lumens documentation and here is [Laravels documentation (http://laravel.com/docs/5.1#environment-configuration).

0

They moved away from those files as a whole, mainly for security, from my understanding, since .env files shouldn't be committed. Basically you set up what you want the values to be in the env file vs having cascading config files.

Anyway here's Lumens documentation and here is Laravels documentation.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

vedbew vedbew Joined 27 Jul 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.