patrickrose/flysystem-redis

A Flysystem adapter for Redis

1.1.4 2016-02-03 11:14 UTC

This package is auto-updated.

Last update: 2024-10-16 23:54:24 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

A flysystem adapter for Redis

Installation

With composer of course:

"require": {
    "patrickrose/flysystem-redis": "~1"
}

Usage

$client = new Predis\Client();
$adapter = new PatrickRose\Flysystem\Redis\RedisAdapter($client);

$filesystem = new League\Flysystem\Filesystem($adapter);

Config options

update, updateStream, write, writeStream accept 3 config options: