Laravel - Basics and Architecture
You try to access a configuration value in Laravel using
config('database.host') but get an error. What is the most likely cause?config('database.host') but get an error. What is the most likely cause?config() helper reads values from files in the config folder, like database.php.database.php is missing or misnamed, config('database.host') cannot find the value, causing an error.database.php config file is missing or misnamed -> Option Bconfig() call [OK]config() calls [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions