Skip to content

mailersend/flysystem-gridfs

 
 

Repository files navigation

League\Flysystem\GridFS [BETA]

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

This is a Flysystem adapter for the MongoDB's GridFS.

Installation

composer require league/flysystem-gridfs

Bootstrap

<?php
use League\Flysystem\GridFS\GridFSAdapter;
use League\Flysystem\Filesystem;

include __DIR__ . '/vendor/autoload.php';

$mongoClient = new MongoClient();
$gridFs = $mongoClient->selectDB('db_name')->getGridFS();

$adapter = new GridFSAdapter($gridFs);

About

GridFS Adapter for Flysystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%