radiate-framework / framework

A WordPress plugin and theme framework
https://radiate-framework.github.io/
MIT License
4 stars 0 forks source link

Remove config directory #107

Closed BenRutlandWeb closed 3 years ago

BenRutlandWeb commented 3 years ago

Is your feature request related to a problem? Please describe. The config directory adds complexity despite the likelyhood of changes being slim.

Describe the solution you'd like Remove the config directory. Required configurations can be made in the functions file with $app->config() like in lumen.

Additional context Hard code the view and app configurations and remove the Auth driver for WordPress...

BenRutlandWeb commented 3 years ago

As the framework gets larger and caters for more "flavours", the configs will be more important. I agree that things such as the view path are unlikely to change between projects, but for example, the mail settings will need to be configurable between projects.