GitHub - spdionis/flysystem: Abstraction for local and remote filesystems
Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.
composer require league/flysystem
You can also use Flysystem without using Composer by registering an autoloader function:
spl_autoload_register(function($class) { $prefix = 'League\\Flysystem\\'; if ( ! substr($class, 0, 17) === $prefix) { return; } $class = substr($class, strlen($prefix)); $location = __DIR__ . 'path/to/flysystem/src/' . str_replace('\\', '/', $class) . '.php'; if (is_file($location)) { require_once($location); } });
If you discover any security related issues, please email frenky@frenky.net instead of using the issue tracker.