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

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.
Reply
#2

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




Theme © iAndrew 2016 - Forum software by © MyBB