PHP code example of league / flysystem-vfs
1. Go to this page and download the library: Download league/flysystem-vfs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
league / flysystem-vfs example snippets
use League\Flysystem\Vfs\VfsAdapter;
use League\Flysystem\Filesystem;
use VirtualFileSystem\FileSystem as Vfs;
$adapter = new VfsAdapter(new Vfs);
$filesystem = new Filesystem($adapter);