league/flysystem
League/Flysystem is a filesystem abstraction for PHP that provides a consistent API for local disks and cloud storage like S3. Swap adapters without changing your app, with support for reading/writing files, directories, visibility, and streams.
Adopt if:
Look elsewhere if:
For Executives: "Flysystem lets us treat all file storage—local servers, cloud buckets, or remote servers—as a single, interchangeable service. This reduces vendor lock-in, cuts costs by optimizing storage tiers, and accelerates feature delivery (e.g., secure file sharing, media libraries) without custom engineering. For example, we can switch from AWS S3 to Google Cloud Storage with a config change, saving thousands in egress fees. The package is battle-tested by 13K+ developers and used by Laravel, Symfony, and Drupal, ensuring reliability."
For Engineering: *"Flysystem abstracts away the complexity of 15+ storage backends (S3, GCS, SFTP, etc.) behind a consistent API. Key benefits:
For Developers: *"Stop writing boilerplate for file uploads/downloads across different storage systems. Flysystem gives you:
put(), get(), delete(), url(), etc., work the same for local files or S3.How can I help you explore Laravel packages today?