Closed HamasakiBrain closed 3 weeks ago
@rawilk
Hey, I'm not sure I'm interested in implementing this kind of feature at this time for the package. I personally don't really have a need to do it like that, and it's not something I want to maintain right now. In the future I may revisit this, but for now I think I'll pass on it.
Feature Description
Override Config Values
You can easily override default config values by adding them to the override option in config/setting.php, thereby eliminating the need to modify the default config files and also allowing you to change said values during production. Ex:
The values on the left corresponds to the respective config value (Ex: config('app.name')) and the value on the right is the name of the
key
in your settings table/json file.Is this feature valuable for other users as well and why?
If the library supports redefinition of configuration values, it is easily integrated with other third-party packages that may also offer their own configuration capabilities. This reduces the likelihood of conflicts and makes the system more compatible and extensible.