rojtjo/lumen-glide

Easily integrate Glide with the Lumen micro-framework
31
Install
composer require rojtjo/lumen-glide
Latest Version:0.2.0
PHP:>=5.3.0
License:MIT
Last Updated:Jun 6, 2019
Links: GitHub  ·  Packagist
Maintainer: Rojtjo

lumen-glide

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Easily integrate Glide with the Lumen micro-framework.

Install

Via Composer

$ composer require rojtjo/lumen-glide

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.

// 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.

// bootstrap/app.php
$app->register(Rojtjo\LumenGlide\GlideServiceProvider::class);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email me@rojvroemen.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
0.2.0 >=5.3.0 ~5.0 MIT
0.1.1 >=5.3.0 ~5.0 MIT
0.1.0 >=5.3.0 ~5.0 MIT