The configuration is similar to the Symfony Flysystem Bundle as it provides various way to configure the bucket:
using the database connection (default connection by default)
setting a service name for the bucket instance
setting a factory function for the bucket instance
Unlike the Symfony Bundle, I do not provide instantiation of a new MongoDB\Client from the configuration as we always have a database connection with Eloquent.
Fix PHPORM-186
Integration of Flysystem GridFS Adapter for Laravel File Storage.
The configuration is similar to the Symfony Flysystem Bundle as it provides various way to configure the bucket:
bucket
instancebucket
instanceUnlike the Symfony Bundle, I do not provide instantiation of a new
MongoDB\Client
from the configuration as we always have a database connection with Eloquent.Checklist