Aug 13, 2022
0
Level 2
Spatie Valuestore Coverage
Hi,
I Just wanted to use spatie/laravel-valuestore package I used it with no problem.
I wanted to extend it to conver all my application settings such as SMTP Mail config & .env file etc ...
How I can do that ?
BTW I have used a helper that works fine in the views.
function settings($key = null, $default = null) {
if ($key === null) {
return app(App\Settings::class);
}
return app(App\Settings::class)->get($key, $default);
}
@Sinnbeck -> HELP :)
Please or to participate in this conversation.