no-framework-tutorial
no-framework-tutorial copied to clipboard
Environment/Config
See https://github.com/PeeHaa/OpCacheGUI/blob/master/init.deployment.php https://github.com/PeeHaa/OpCacheGUI/blob/master/init.example.php
both in gitignore
I'm a fan of dotenv w/ a .env file. It's becoming popular. That combined with a Config interface/implementation which read config files from a config folder and rolled it all up. An injector delegate could be used to start up dotenv - or not if someone didn't want to use that... Just some thoughts.