Support the ongoing development of →
Blade Installation Laravel
Last updated 3 months ago.

Hi Hamza,

In the Laravel documentation, it says how to update the configuration at runtime.

So you would do this:

$site_title = $request->input('site_title');
config(['meta.title' => $site_title]);

Hope it works out!

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

Hamza Hamza phillnex Joined 9 Mar 2021


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.