Flysystem adapter for fallback filesystems
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Remove redundant call to 'has()' to increase read performance. Jun 9, 2016
tests
.gitattributes Increased testing coverage Oct 11, 2015
.gitignore
.scrutinizer.yml Increased testing coverage Oct 11, 2015
.travis.yml Increased testing coverage Oct 11, 2015
README.md Readme update Oct 22, 2015
changelog.md
composer.json Added support block inside composer.json Oct 11, 2015
phpunit.hhvm.xml
phpunit.php Added unit tests base Oct 10, 2015
phpunit.xml Added unit tests base Oct 10, 2015

README.md

Flysystem adapter for fallback filesystems

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

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);