PHP code example of rojtjo / lumen-glide

1. Go to this page and download the library: Download rojtjo/lumen-glide library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rojtjo / lumen-glide example snippets

 php
// Example configure GridFS.
$app->bind('glide.source', function($app) {
    $gridFS = ...
    return new League\Flysystem\Filesystem(
        new League\Flysystem\GridFS\GridFSAdapter($gridFS)
    );
});
 php
// bootstrap/app.php
$app->register(Rojtjo\LumenGlide\GlideServiceProvider::class);