You can store it in a config file. For example, you can create a file in the config/ directory and name it admin-settings.php
return [
'admin_color' => '#fff',
];
get it like:
config('admin-settings.admin_color');
set it like:
$data = [
'admin_color' => $request->admin_color; // your input
];
Config::write('admin-settings', $data);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community