Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

An easy way to autoload config files for Lumen

License

Notifications You must be signed in to change notification settings

turkeryildirim/lumen-config-autoloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lumen Config Autoloader

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.

Installation

  • Install the package via composer
composer require turkeryildirim/lumen-config-autoloader
  • Create a folder named config in your application's root.

Usage

You just need to copy 3rd party packages config files into your config folder or you can use Lumen vendor publish package.

License

Lumen Config Autoloader is open-sourced software licensed under the MIT license