Incorporate vance lucas' dotenv package for feeding environment variables to configuration files
rotexdegba opened this issue · 1 comments
Incorporate vance lucas' dotenv (https://github.com/vlucas/phpdotenv) package for feeding environment variables for configuration
Re-organized app structure to exclude ./config/app-settings.php
from git version control by default.
Also added documentation recommending that ./config/app-settings.php
be configured uniquely per
environment and ./config/app-settings-dist.php
be used as a template file for creating
./config/app-settings.php in each new environment.
./config/app-settings-dist.php
should be version controlled, and it should contain dummy values for sensitive application settings like database connection credentials.
No need for dotenv anymore. Users can use ./config/app-settings.php
to store environment specific settings. ./config/app-settings.php
should no longer be version controlled in applications developed using this framework, rather ./config/app-settings-dist.php
should be used as a template for creating ./config/app-settings.php
in each new environment an application should be deployed to.