lumen-glide
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
Easily integrate Glide with the Lumen micro-framework., (*2)
Install
Via Composer, (*3)
``` bash
$ composer require rojtjo/lumen-glide, (*4)
## Configuration
Configuration can be done in multiple ways.
### First method
Copy the config file from `{package_dir}/config/glide.php` to `config/glide` and update it with your own values.
### Second method
Update the container bindings.
``` php
// Example configure GridFS.
$app->bind('glide.source', function($app) {
$gridFS = ...
return new League\Flysystem\Filesystem(
new League\Flysystem\GridFS\GridFSAdapter($gridFS)
);
});
Usage
Register the service provider.
``` php
// bootstrap/app.php
$app->register(Rojtjo\LumenGlide\GlideServiceProvider::class);, (*5)
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*6)
Security
If you discover any security related issues, please email me@rojvroemen.com instead of using the issue tracker., (*7)
Credits
License
The MIT License (MIT). Please see License File for more information., (*8)