laravel-settings icon indicating copy to clipboard operation
laravel-settings copied to clipboard

Parameters in View?

Open KatiaSishost opened this issue 3 years ago • 1 comments

How can pass all parameters to view?

and after call it in blade?

like.. in title...

settings('app_name')

KatiaSishost avatar Mar 16 '22 12:03 KatiaSishost

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']

tonypartridger avatar Aug 17 '22 09:08 tonypartridger