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.
Architecture fit is strong for applications already using Flysystem as a storage abstraction layer, particularly those leveraging MongoDB for large file storage. Integration feasibility is high when Flysystem is already implemented but requires significant refactoring for direct MongoDB interactions. Technical risks include extremely low adoption (0 dependents, 20 stars), potential compatibility gaps with newer MongoDB driver versions (ext-mongodb 1.3+/2+), and uncertain maintenance status due to sub-split nature. Key questions: Is the package actively maintained? How does it handle MongoDB driver version mismatches? What are the failure modes for GridFS-specific edge cases like chunking errors or metadata corruption?
Stack fit requires PHP 8.0+, Flysystem 3.10+, and ext-mongodb driver (v1.3+ or v2+). Integration involves replacing direct MongoDB GridFS calls with Flysystem's Filesystem interface via standard adapter instantiation. Migration path requires first adopting Flysystem across the codebase, then incrementally swapping storage operations starting with non-critical paths. Compatibility confirmed for MongoDB 4.4+ and Flysystem 3.x, but custom GridFS configurations (e.g., chunk size) need validation. Sequencing should prioritize Flysystem adoption before introducing this adapter to minimize disruption.
Maintenance is high-risk due to minimal community activity (0 dependents, 20 stars), requiring internal ownership for bug fixes and updates. Support is limited; reliance on GitHub issues may lead to slow resolution of critical issues
How can I help you explore Laravel packages today?