Replies: 1 comment
-
You could try this blade directive and inject the settings class: https://laravel.com/docs/9.x/blade#service-injection |
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.
-
If I were to use this package in a blade, would I use it as such: {{app(App\Settings\GeneralSettings::class)->site_name}} or is there a global name I could use to retrieve the values?
Beta Was this translation helpful? Give feedback.
All reactions