Giter Site home page Giter Site logo

20uf / flysystem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thephpleague/flysystem

0.0 2.0 0.0 1.6 MB

Abstraction for local and remote filesystems

Home Page: http://flysystem.thephpleague.com

License: MIT License

PHP 99.48% Shell 0.52%

flysystem's Introduction

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.

flysystem's People

Contributors

frankdejonge avatar grahamcampbell avatar twistor avatar rubtsovav avatar woodsae avatar k-phoen avatar basz avatar creocoder avatar barryvdh avatar duncan3dc avatar 4d47 avatar cramiro avatar wyrihaximus avatar romeoz avatar sparkweb avatar staabm avatar jeroenvdgulik avatar hassankhan avatar freekmurze avatar kristianedlund avatar turneliusz avatar remicollet avatar ifdattic avatar pjona avatar danut007ro avatar technodelight avatar sagikazarmark avatar pborreli avatar pmartelletti avatar miloshavlicek avatar

Watchers

James Cloos avatar Michael COULLERET avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.