I added a new configuration variable to a file config/app.phpin laravel like this
'foo' => 'pass'
but when I tried to read it using config('app.foo'), I keep getting null, while other variables return the correct values. What do I need to do?
source
share