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


Messages In This Thread
Config files outside app/Config ? - by sjender - 03-14-2023, 05:34 AM
RE: Config files outside app/Config ? - by kenjis - 03-15-2023, 05:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB