litipk / flysystem-fallback-adapter
This package is abandoned and no longer maintained.
No replacement package was suggested.
Flysystem adapter for fallback filesystems
0.1.3
2016-06-23 00:18 UTC
Requires
- php: >=5.4.0
- league/flysystem: ~1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-01-07 19:26:27 UTC
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 litipk/flysystem-fallback-adapter
Usage
$main = new League\Flysystem\Adapter\AwsS3(...); $fallback = new League\Flysystem\Adapter\Local(...); $adapter = new Litipk\Flysystem\Fallback\FallbackAdapter($main, $fallback);