This extension adds some useful adapters for the league/flysystem
library.
You can install the client with Composer:
composer require elgigi/flysystem-useful-adapters
The FallbackAdapter
adapter allow to write or read on a fallback adapter.
Imagine that your main adapter is a S3 in an unavailable region, to continue to receive files from your customers, you can use a fallback adapter on another region.
The LogAdapter
is compliant with psr/log
, and allow to log actions on file systems.
The ReadWriteAdapter
adapter allow to separate readers and writers adapters.
The RetryAdapter
adapter allow to retry an action on file system in case of failure, after a delay and X times.