jenszahner / flysystem-fallback-adapter
Flysystem adapter for fallback filesystems
Installs: 650
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 5
pkg:composer/jenszahner/flysystem-fallback-adapter
Requires
- php: >=5.4.0
- league/flysystem: ~1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
README
This adapter has been created to allow using a fallback filesystem for read operations when the files can't be accessed through the main adapter.
Installation
composer require jenszahner/flysystem-fallback-adapter
Usage
$main = new League\Flysystem\Adapter\AwsS3(...); $fallback = new League\Flysystem\Adapter\Local(...); $adapter = new Litipk\Flysystem\Fallback\FallbackAdapter($main, $fallback);