Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flysystem Gridfs Laravel Package

league/flysystem-gridfs

MongoDB GridFS adapter for Flysystem. Install via composer (league/flysystem-gridfs) to use GridFS as a filesystem backend for reading and writing files. This is a split package; issues and PRs are handled in the main Flysystem repo.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables consistent file operations across storage backends (e.g., S3, local, GridFS) via Flysystem’s abstraction layer, eliminating custom adapter development for MongoDB GridFS.
  • Critical for build vs buy decisions: leverages a mature MIT-licensed solution from the League ecosystem instead of building/maintaining a custom GridFS integration.
  • Ideal for use cases requiring scalable storage of large files (>16MB), transactional metadata handling, or seamless migration from local storage to MongoDB-backed storage in horizontally scalable applications.

When to Consider This Package

  • Adopt when: Your stack already uses Flysystem for storage abstraction, requires MongoDB GridFS for large file storage, and you accept lower community adoption (20 stars, 0 dependents) as a trade-off for avoiding custom code.
  • Look elsewhere when: You’re using MongoDB GridFS v2 (not supported), require high community support/active maintenance, or haven’t adopted Flysystem yet (refactoring effort outweighs benefits). Avoid if your team lacks MongoDB driver expertise due to strict ext-mongodb version requirements (v1.3+/v2+).

How to Pitch It (Stakeholders)

Executives: "This package lets us leverage MongoDB GridFS for large file storage without custom development—saving 3-6 months of engineering effort. It integrates with our existing Flysystem setup, ensuring consistent file operations across cloud and on-prem storage while reducing infrastructure costs. MIT-licensed with no vendor lock-in."
Engineering: "Drop-in compatibility with Flysystem 3.x: replace LocalAdapter with GridFsAdapter in minutes. Supports streaming large files, metadata handling, and Laravel integration via filesystem.php. Validate MongoDB driver compatibility (v1.3+/v2+) and index performance—minimal refactoring needed if Flysystem is already in use."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport