Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 1.57 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.57 KB

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