![]() |
Config files outside app/Config ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Config files outside app/Config ? (/showthread.php?tid=87101) |
Config files outside app/Config ? - sjender - 03-14-2023 Hi, I am building a composer package. And I need to modify some config files (Validation.php for example). But I want this Validation.php file to be part of my package (example: mypackage/src/Config/Validation.php). Is this even possible, and if so, how to set this up? Even better would be if I could add validation rules WITHOUT moving the file, allowing the user of my package to add validation rules of his own, but not being bothered by mine. RE: Config files outside app/Config ? - kenjis - 03-15-2023 See https://codeigniter4.github.io/CodeIgniter4/general/configuration.html#registrars |