Flysystem adapter for fallback filesystems
0.1.3 2016-06-23 00:18 UTC
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.
composer require litipk/flysystem-fallback-adapter
$main = new League\Flysystem\Adapter\AwsS3(...); $fallback = new League\Flysystem\Adapter\Local(...); $adapter = new Litipk\Flysystem\Fallback\FallbackAdapter($main, $fallback);