I am thinking about a more sophisticated way to merge different config files and I like it much more if this would be handled in config/main.php rather than in the index.php.
What do you think about the framework supporting extension configs, like i.e. Apache does?
But, for sure on one hand config/main.php will be modified for the application, on the other hand, this is just a tiny change
I don’t think it’s suitable for all projects since it will slow down execution a bit because of merging. Also there are some ready to use solutions in extensions section.