Inspired by the phanan/cascading-config package.
composer require dimbo/cascading-config
Add the LoadCascadingConfiguration
class to the Kernel's bootstrappers
section right after LoadConfiguration
:
protected $bootstrappers = [
//...
\Illuminate\Foundation\Bootstrap\LoadConfiguration::class,
\Dimbo\CascadingConfig\LoadCascadingConfiguration::class,
//...
];
Remember to do that in both app\Console\Kernel.php
and app\Http\Kernel.php
.