patrickrose / flysystem-redis
A Flysystem adapter for Redis
Installs: 1 079
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 2
Open Issues: 1
Requires
- league/flysystem: ~1
- predis/predis: ~1 || dev-v1.1-sentinel
Requires (Dev)
- phpspec/phpspec: 2.1.*
- phpunit/phpunit: ~4
This package is auto-updated.
Last update: 2024-10-16 23:54:24 UTC
README
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: