bengor-file/gaufrette-filesystem-bridge
Bridge adapter that makes BenGorFile File objects work with a Gaufrette filesystem. Install via Composer, PHP 5.5+. Includes PHPSpec test suite and links to full documentation in the BenGorFile/File docs.
File compatibility.Adopt if:
File API for consistency but want to extend it to non-local storage.Look elsewhere if:
Storage facade (which already supports multiple adapters natively) and don’t need File compatibility.For Executives:
"This package lets us standardize how our app handles files—whether stored locally, in the cloud, or on legacy systems—using Laravel’s familiar File API. By leveraging Gaufrette’s proven adapters, we avoid vendor lock-in and reduce dev time for storage migrations. It’s a low-risk way to future-proof our infrastructure for multi-cloud or hybrid storage needs, with minimal upfront cost."
For Engineering:
*"The GaufretteFilesystemBridge bridges Laravel’s File class with Gaufrette’s filesystem adapters, giving us a unified interface for local/S3/FTP/etc. storage. Key benefits:
File methods (e.g., copy(), delete()).AwsS3, Ftp) without refactoring file logic.Storage facade."*How can I help you explore Laravel packages today?