Welcome Guest, Not a member yet? Register   Sign In
Config files outside app/Config ?

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.

See https://codeigniter4.github.io/CodeIgnit...registrars

Theme © iAndrew 2016 - Forum software by © MyBB