yiisoft/yii2-app-basic

Add .env file support

Closed this issue · 4 comments

Moved from yiisoft/yii2#13602

Original text:
I suggest to add .env support, like it's done in Laravel. With it it's much easier to make a basic
config of the app/switching between environments, etc.

cebe commented

duplicate of #105

@cebe #105 is a different issue. That one is about handing environment in basic just like it is done in advanced. This other one is for supporting the use of .env files for setting environment variables, as discussed in yiisoft/yii2#13602

Won't be added to 2.0.14. Planned for 2.1.