D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
www
/
public
/
plugins
/
cropper
/
css
/
canvas
/
Filename :
installation.md.tar
back
Copy
home/tattooscyy/test/vendor/league/flysystem/docs/installation.md 0000777 00000001167 15225251677 0021476 0 ustar 00 --- layout: default permalink: /installation/ title: Installation --- # Installation Through Composer, obviously: ~~~ bash composer require league/flysystem ~~~ You can also use Flysystem without using Composer by registering an autoloader function: ~~~ php 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); } }); ~~~