Support the ongoing development of Laravel.io →
Blade Installation Laravel
Last updated 2 years ago.

phillnex liked this thread

1

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 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Hamza phillnex Joined 9 Mar 2021

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.