2017 © Pedro Peláez
 

library laravel-gridfs-storage

MongoDB GridFS integration for Laravel's Storage API

image

matthewbdaly/laravel-gridfs-storage

MongoDB GridFS integration for Laravel's Storage API

  • Tuesday, November 14, 2017
  • by matthewbdaly
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

laravel-gridfs-storage

MongoDB GridFS integration for Laravel's Storage API, (*1)

Installation

Install the package using composer:, (*2)

composer require matthewbdaly/laravel-gridfs-storage

On Laravel versions before 5.5 you also need to add the service provider to config/app.php manually:, (*3)

    Matthewbdaly\LaravelGridFSStorage\GridFSStorageServiceProvider::class,

Then add this to the disks section of config/filesystems.php:, (*4)

        'gridfs' => [
            'driver'    => 'gridfs',
            'name'      => env('GRIDFS_STORAGE_NAME'),
        ],

Finally, add the field GRIDFS_STORAGE_NAME to your .env file with the appropriate credentials. Then you can set the gridfs driver as either your default or cloud driver and use it to fetch and retrieve files as usual., (*5)

MongoClient is deprecated...

Unfortunately, league/flysystem-gridfs hasn't been updated to reflect this. When it is, I'll be in a position to make this work with it., (*6)

The Versions

14/11 2017

dev-master

9999999-dev

MongoDB GridFS integration for Laravel's Storage API

  Sources   Download

MIT

The Requires

 

The Development Requires

mongodb laravel storage gridfs

14/11 2017

1.0.2

1.0.2.0

MongoDB GridFS integration for Laravel's Storage API

  Sources   Download

MIT

The Requires

 

The Development Requires

mongodb laravel storage gridfs

14/11 2017

1.0.1

1.0.1.0

MongoDB GridFS integration for Laravel's Storage API

  Sources   Download

MIT

The Development Requires

mongodb laravel storage gridfs

14/11 2017

1.0.0

1.0.0.0

MongoDB GridFS integration for Laravel's Storage API

  Sources   Download

MIT

The Development Requires

laravel storage azure