Easily integrate Glide with the Lumen micro-framework.
Via Composer
$ composer require rojtjo/lumen-glide
Configuration can be done in multiple ways.
Copy the config file from {package_dir}/config/glide.php
to config/glide
and update it with your own values.
Update the container bindings.
// Example configure GridFS.
$app->bind('glide.source', function($app) {
$gridFS = ...
return new League\Flysystem\Filesystem(
new League\Flysystem\GridFS\GridFSAdapter($gridFS)
);
});
Register the service provider.
// bootstrap/app.php
$app->register(Rojtjo\LumenGlide\GlideServiceProvider::class);
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email me@rojvroemen.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.