We use PHP7, latest MongoDB PECL package (1.2.2) - Laravel 5.3 - jenssegers/laravel-mongodb 3.1
I want to use GridFS. It's normally available into the MongoDB PECL package but there are no documentation nor working code example.
We use PHP7, latest MongoDB PECL package (1.2.2) - Laravel 5.3 - jenssegers/laravel-mongodb 3.1
I want to use GridFS. It's normally available into the MongoDB PECL package but there are no documentation nor working code example.
You can use
Bucket
class for upload and download documents to mongodb grid on mongo-php-library 2.2 driver.You can go through this link. This shows how you can use gridFS with Laravel-mongodb and also you might need to update your mongo db drivers for this.
Another link for your reference.
Though there is not a sample code provided there, but it would help you if you have worked over Mongo with Laravel.
Hope it would help you