Tag Archives: laravel 5.6 interview questions

How to access the configuration values in laravel?

Click here for more interview questions configuration values stored in the app.php get the configuration value using the below code $value = config(‘app.timezone’); set the configuration value using the below code To set configuration values at runtime, pass an array to the config helper: config([‘app.timezone’ => ‘America/Chicago’]); Click here for more interview questions