PHPackages                             matthewbdaly/laravel-gridfs-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. matthewbdaly/laravel-gridfs-storage

AbandonedLibrary[Database &amp; ORM](/categories/database)

matthewbdaly/laravel-gridfs-storage
===================================

MongoDB GridFS integration for Laravel's Storage API

1.0.2(8y ago)053MITPHP

Since Nov 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/matthewbdaly/laravel-gridfs-storage)[ Packagist](https://packagist.org/packages/matthewbdaly/laravel-gridfs-storage)[ RSS](/packages/matthewbdaly-laravel-gridfs-storage/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

laravel-gridfs-storage
======================

[](#laravel-gridfs-storage)

MongoDB GridFS integration for Laravel's Storage API

Installation
============

[](#installation)

Install the package using composer:

```
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:

```
    Matthewbdaly\LaravelGridFSStorage\GridFSStorageServiceProvider::class,
```

Then add this to the `disks` section of `config/filesystems.php`:

```
        '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.

MongoClient is deprecated...
----------------------------

[](#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.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3103d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a596e5052494181ddc20aedefbebef191cc81008e320df098608c54a1dea7350?d=identicon)[matthewbdaly](/maintainers/matthewbdaly)

---

Top Contributors

[![matthewbdaly](https://avatars.githubusercontent.com/u/450801?v=4)](https://github.com/matthewbdaly "matthewbdaly (14 commits)")

---

Tags

laravelstoragemongodbGridFS

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/matthewbdaly-laravel-gridfs-storage/health.svg)

```
[![Health](https://phpackages.com/badges/matthewbdaly-laravel-gridfs-storage/health.svg)](https://phpackages.com/packages/matthewbdaly-laravel-gridfs-storage)
```

###  Alternatives

[linkorb/objectstorage

ObjectStorage library for your cloud-based applications

105.4k6](/packages/linkorb-objectstorage)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
