League\Flysystem
Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.
Goals
Have a generic API for handling common tasks across multiple file storage engines.
Have consistent output which you can rely on.
Integrate well with other packages/frameworks.
Be cacheable.
Emulate directories in systems that don't support them, like AWS S3.
Support third party plugins.
Make it easy to test your filesystem interactions.
Support streams for big file handling.
Installation
composer require league/flysystem
Documentation
Community Integrations
Want to get started quickly? Check out some of these integrations:
Adapters
Core
Ftp
Local
NullAdapter
Officially Supported
Community Supported
Adapter (using another Flysystem adapter)
Memcached
Memory (array caching)
Redis (through Predis)
Stash
Security
If you discover any security related issues, please email info@frankdejonge.nl instead of using the issue tracker.
For enterprise
Available as part of the Tidelift Subscription.
The maintainers of Flysystem and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
Enjoy
Oh and if you've come down this far, you might as well follow me on twitter.