Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/turkeryildirim/lumen-config-autoloader

An easy way to autoload config files for Lumen
https://github.com/turkeryildirim/lumen-config-autoloader

autoload autoloader config configuration-files laravel laravel-framework lumen lumen-framework lumen-package lumen-php-framework php

Last synced: 3 months ago
JSON representation

An easy way to autoload config files for Lumen

Awesome Lists containing this project

README

        

# 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
``` bash
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](https://github.com/laravelista/lumen-vendor-publish) package.

## License
Lumen Config Autoloader is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)