keyboslice
1806
13
Lumen

Lumen cusom config not being picked up

Posted 4 years ago by keyboslice

I have created a project with Lumen, and I'm trying to set some config files, I've created a folder "config" in my project root, and copied the whole 'app.php' from vendor/laravel/lumen-framework/config, and then changed some values.

These do not seem to be picked up by the config() helper function.

I have also tried adding $app->configure('app'); in my bootstrap.php, but when i dd(config()) I can only see the app.php file from vendor/laravel/lumen-framework/config is being read, not my custom config file.

Can anyone please advise as to what I'm doing wrong?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.