league/flysystem-vfs

1.0.3 2017-03-03 15:43 UTC

README

Latest Version Software License Build Status Total Downloads

This is a VFS adapter for Flysystem. It allows you to mount a virtual filesystem.

Installation

composer require league/flysystem-vfs

Usage

use League\Flysystem\Vfs\VfsAdapter;
use League\Flysystem\Filesystem;
use VirtualFileSystem\FileSystem as Vfs;

$adapter = new VfsAdapter(new Vfs);
$filesystem = new Filesystem($adapter);