Support the ongoing development of Laravel.io →
Configuration Architecture

Is it me or does Lumen only loads the minimal stack within Job and Console.

Nothing from bootstrap/app.php gets loaded

I have config/* loaded in bootstrap/app.php but when constructed my Command and config('app'); it returned null. I would need the a bunch of configuration setting that has been already implemented there instead of reverting back to env() which defeated the point in having config/* enabled by doing:

$app->configure('database');

in the first place.

Am I understanding the framework incorrectly or are these the nuances between lumen and laravel where Laravel full stack wouldnt be doing this to me.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

beerbuddha beerbuddha Joined 24 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.