How to set and get config variable in Laravel?

Posted by LaravelIndia - 1 year ago

To get config value

$value = config('app.timezone');

To Set config value

config(['app.timezone' => 'PUT YOUR TIME ZONE']);