CodeIgniter Forums
app/Config is getting unwieldy to manage now - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: app/Config is getting unwieldy to manage now (/showthread.php?tid=81700)



app/Config is getting unwieldy to manage now - tgix - 04-13-2022

Just want to vent my frustration...
I am upgrading a couple of projects to latest CI4 and I must say that the mess in app/Config/* is getting worse with every release! Trying to merge my own config from a 4.0.x project to 4.1.9 is a real pain. All the deprecation code in the framework doesn't allow me to clean out the files either. This combined with the change of comments style in the Config-files isn't a help either, making diffs impossible.
I don't say I have a solution, but if anyone has a suggestion I'm all ears!
/Mattias


RE: app/Config is getting unwieldy to manage now - kenjis - 04-13-2022

If you use Composer try:
https://github.com/tattersoftware/codeigniter4-patches
https://github.com/paulbalandan/liaison-revision


RE: app/Config is getting unwieldy to manage now - tgix - 04-13-2022

(04-13-2022, 01:15 AM)kenjis Wrote: If you use Composer try:
https://github.com/tattersoftware/codeigniter4-patches
https://github.com/paulbalandan/liaison-revision

Thanks! Will give that a try.