Replies: 2 comments
-
The whole idea of settings is to make them strongly typed and use dependency injection for that, by using facades we kinda lose that. In the end users can create their own facades like you've shown so everything is possible. But I don't think facades should be part of the package. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Makes a lot of sense! Thank you for your feedback @rubenvanassche |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi :)
I found this package today and I'm already switching over from my custom settings implementation :D . Thank you for that!
One thing I noticed is that it doesn't use facades. I think using something like Settings::get('general','currency') could be useful.
I tried it out by making a facade for my GeneralSettings, and it works fine, though it does mean you have to create the facade manually for each class.
Happy to hear your thought, and thanks again!
Beta Was this translation helpful? Give feedback.
All reactions