league / flysystem-vfs
A VFS adapter for Flysystem
Installs: 535 785
Dependents: 14
Suggesters: 0
Security: 0
Stars: 18
Watchers: 5
Forks: 7
Open Issues: 0
Requires
- php: >=5.4.0
- league/flysystem: ^1.0
- php-vfs/php-vfs: ^1.4.2
Requires (Dev)
- phpunit/phpunit: ^4.8
README
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);