league/flysystem-vfs

A VFS adapter for Flysystem

1.1.0 2020-11-13 11:50 UTC

This package is auto-updated.

Last update: 2024-11-13 20:07:55 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);