qcod/laravel-settings

Parameters in View?

Closed this issue · 1 comments

How can pass all parameters to view?

and after call it in blade?

like.. in title... <title>settings('app_name')</title>

Why all settings?

{{ settings()->get('app_name') }}

Or use use $settings = settings()->all() and pass $settings into the view and call them that way i.e. $settings['app_name']