PHPackages                             patrickrose/flysystem-redis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. patrickrose/flysystem-redis

ActiveLibrary[File &amp; Storage](/categories/file-storage)

patrickrose/flysystem-redis
===========================

A Flysystem adapter for Redis

1.1.4(10y ago)41.1k↓93.3%2[1 PRs](https://github.com/PatrickRose/flysystem-redis/pulls)MITPHP

Since Nov 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/PatrickRose/flysystem-redis)[ Packagist](https://packagist.org/packages/patrickrose/flysystem-redis)[ RSS](/packages/patrickrose-flysystem-redis/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (9)Used By (0)

flysystem-redis
===============

[](#flysystem-redis)

[![Build Status](https://camo.githubusercontent.com/9aca82aac73188c8bf44692b506d950865f73dc4f4ab9029ed3357fe6ea76634/68747470733a2f2f7472617669732d63692e6f72672f5061747269636b526f73652f666c7973797374656d2d72656469732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PatrickRose/flysystem-redis)[![Latest Stable Version](https://camo.githubusercontent.com/9717b17d211ecd541260d13c0afb47cc547d206f69f55502d1fda3d3d63f5aaa/68747470733a2f2f706f7365722e707567782e6f72672f7061747269636b726f73652f666c7973797374656d2d72656469732f762f737461626c65)](https://packagist.org/packages/patrickrose/flysystem-redis)[![Total Downloads](https://camo.githubusercontent.com/1219a8319d47ad6d7b5aecd5550dcf221ff220f208f1f3582c17da60031a32a1/68747470733a2f2f706f7365722e707567782e6f72672f7061747269636b726f73652f666c7973797374656d2d72656469732f646f776e6c6f616473)](https://packagist.org/packages/patrickrose/flysystem-redis)[![Latest Unstable Version](https://camo.githubusercontent.com/802763a17e7696d90dbc292bddc973ae198223247197294416270f06d5b28319/68747470733a2f2f706f7365722e707567782e6f72672f7061747269636b726f73652f666c7973797374656d2d72656469732f762f756e737461626c65)](https://packagist.org/packages/patrickrose/flysystem-redis)[![License](https://camo.githubusercontent.com/471199e910fa05600b480d53658ada3b5fb99a09e8f5858efdd24c33e92aa90f/68747470733a2f2f706f7365722e707567782e6f72672f7061747269636b726f73652f666c7973797374656d2d72656469732f6c6963656e7365)](https://packagist.org/packages/patrickrose/flysystem-redis)

A flysystem adapter for Redis

Installation
============

[](#installation)

With composer of course:

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

Usage
=====

[](#usage)

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

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

Config options
==============

[](#config-options)

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

Config optionDescriptionValid valuesexpirationTypeThe expiration resolution to use (either EX or PX). Defaults to null`RedisAdapter::EXPIRE_IN_SECONDS`, `RedisAdapter::EXPIRE_IN_MILLISECONDS`ttlHow long this key should live for. Defaults to forever. If set, expirationType is set to EXAny integersetFlagHow the key should be set (NX or XX)`RedisAdapter::SET_IF_KEY_EXISTS`, `RedisAdapter::SET_IF_KEY_NOT_EXISTS`

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~17 days

Total

6

Last Release

3803d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1681612?v=4)[Patrick Rose](/maintainers/PatrickRose)[@PatrickRose](https://github.com/PatrickRose)

---

Top Contributors

[![PatrickRose](https://avatars.githubusercontent.com/u/1681612?v=4)](https://github.com/PatrickRose "PatrickRose (11 commits)")[![mathroc](https://avatars.githubusercontent.com/u/291531?v=4)](https://github.com/mathroc "mathroc (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/patrickrose-flysystem-redis/health.svg)

```
[![Health](https://phpackages.com/badges/patrickrose-flysystem-redis/health.svg)](https://phpackages.com/packages/patrickrose-flysystem-redis)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M85](/packages/unisharp-laravel-filemanager)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[filegator/filegator

Filegator

3.0k1.1k](/packages/filegator-filegator)[concrete5/core

Concrete core subtree split

20166.1k52](/packages/concrete5-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
