flysystem 0,4,0,1,1,6,0,1 scrutinizer travis-ci Packagist phpunit

Abstraction for local and remote filesystems

2 years after MIT

League\Flysystem

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

SensioLabsInsight Build status

Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.

Goals

  • Have a generic API for handling common tasks across multiple file storage engines.
  • Have consistent output which you can rely on.
  • Integrate well with other packages/frameworks.
  • Be cacheable.
  • Emulate directories in systems that support none, like AwsS3.
  • Support third party plugins.
  • Make it easy to test your filesystem interactions.
  • Support streams for big file handling.

Installation

Through Composer, obviously:

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);
    }
});

Integrations

Want to get started quickly? Check out some of these integrations:

Adapters

Caching

  • Memory (array caching)
  • Redis (through Predis)
  • Memcached
  • Adapter
  • Stash

Documentation

Check out the documentation

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Enjoy

Oh and if you've come down this far, you might as well follow me on twitter.

Related Repositories

Laravel-Flysystem

Laravel-Flysystem

A Flysystem bridge for Laravel 5 ...

yii2-flysystem

yii2-flysystem

The Flysystem integration for the Yii framework. ...

flysystem-qiniu

flysystem-qiniu

:floppy_disk: Flysystem adapter for the Qiniu storage. ...

flysystem-aws-s3-v3

flysystem-aws-s3-v3

Flysystem Adapter for AWS SDK V3 ...

flysystem-google-drive

flysystem-google-drive

Flysystem adapter for Google Drive ...


Top Contributors

frankdejonge GrahamCampbell twistor woodsae K-Phoen creocoder barryvdh basz duncan3dc 4d47 WyriHaximus cramiro hassankhan jeroenvdgulik staabm sparkweb romeOz kristianedlund marcj CarsonF Turneliusz atans BakoBako andris-sevcenko bjdelange dmyers ihabunek julesjanssen Markcial pmartelletti

Dependencies

package version
php >=5.5.9
dev ext-fileinfo *
phpunit/phpunit ~4.8
mockery/mockery ~0.9
phpspec/phpspec ^2.2

Releases

-   1.0.27 zip tar
-   1.0.26 zip tar
-   1.0.25 zip tar
-   1.0.24 zip tar
-   1.0.23 zip tar
-   1.0.22 zip tar
-   1.0.21 zip tar
-   1.0.20 zip tar
-   1.0.19 zip tar
-   1.0.18 zip tar
-   1.0.17 zip tar
-   1.0.16 zip tar
-   1.0.15 zip tar
-   1.0.14 zip tar
-   1.0.13 zip tar
-   1.0.12 zip tar
-   1.0.11 zip tar
-   1.0.10 zip tar
-   1.0.9 zip tar
-   1.0.8 zip tar
-   1.0.7 zip tar
-   1.0.6 zip tar
-   1.0.5 zip tar
-   1.0.4 zip tar
-   1.0.3 zip tar
-   1.0.2 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   1.0.0-alpha1 zip tar
-   0.5.12 zip tar