This package provides an easy way to autoload config files from your application's config folder.
With default Lumen installation, you have to add a line into bootstrap/app.php
file with $app->configure('...');
to load package's config file for each composer or custom package. At the beginning may be you don't know that but i mostly forgot to do that.
- Install the package via composer
composer require turkeryildirim/lumen-config-autoloader
- Create a folder named
config
in your application's root.
You just need to copy 3rd party packages config files into your config folder or you can use Lumen vendor publish package.
Lumen Config Autoloader is open-sourced software licensed under the MIT license