PHPackages                             danhunsaker/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. danhunsaker/flysystem-redis

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

danhunsaker/flysystem-redis
===========================

A Flysystem adapter for storing files in Redis

v1.0.4(7y ago)18144.5k↓34.9%5MITPHPPHP &gt;=5.4.0CI failing

Since Oct 25Pushed 5y ago4 watchersCompare

[ Source](https://github.com/danhunsaker/flysystem-redis)[ Packagist](https://packagist.org/packages/danhunsaker/flysystem-redis)[ RSS](/packages/danhunsaker-flysystem-redis/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (6)Used By (0)

Flysystem Adapter for Redis
===========================

[](#flysystem-adapter-for-redis)

[![Join the chat at https://gitter.im/danhunsaker/flysystem-redis](https://camo.githubusercontent.com/bfd7bd1c6053e39d5e16265c32d5e5190e14adc51fc77aa810f6c0714a19aa11/68747470733a2f2f6261646765732e6769747465722e696d2f64616e68756e73616b65722f666c7973797374656d2d72656469732e737667)](https://gitter.im/danhunsaker/flysystem-redis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Liberapay receiving](https://camo.githubusercontent.com/04f133d6cfd60175bae9f4ad52ffa019f30fd1bd989fea926eabe3637ac5e838/68747470733a2f2f696d672e736869656c64732e696f2f6c69626572617061792f72656365697665732f64616e68756e73616b65722e7376673f7374796c653d666c61742d737175617265)](https://liberapay.com/danhunsaker/)

[![Latest Version](https://camo.githubusercontent.com/760054112a9632f8712d6f914c5c5d29d77fde6d6aeccb3ace8c2cead97c0f6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f64616e68756e73616b65722f666c7973797374656d2d72656469732e7376673f7374796c653d666c61742d737175617265)](https://github.com/danhunsaker/flysystem-redis/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/3e1a073d4c453a70d5b09135909df083985aaa88d2000eb8ffcf77c2b6543006/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64616e68756e73616b65722f666c7973797374656d2d72656469732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/danhunsaker/flysystem-redis)[![Total Downloads](https://camo.githubusercontent.com/54f8bfff73d57a28654b65e7f157531f1c42c2a63629717d663fcb907ab662f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e68756e73616b65722f666c7973797374656d2d72656469732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/danhunsaker/flysystem-redis)

This is a [Redis](https://redis.io/) adapter for [Flysystem](http://flysystem.thephpleague.com/).

Installation
------------

[](#installation)

Composer is the best way, as with all of Flysystem!

```
composer require danhunsaker/flysystem-redis
```

Usage
-----

[](#usage)

The usual. Create a client instance, pass it to the adapter, and pass that to the filesystem:

```
use Predis\Client;
use League\Flysystem\Filesystem;
use Danhunsaker\Flysystem\Redis\RedisAdapter;

$redis = new Client();
$adapter = new RedisAdapter($redis);
$filesystem = new Filesystem($adapter);
```

If Predis's assumed defaults of `127.0.0.1` and `6379` for host and port (respectively) aren't sufficient, you can pass your own values, just as you normally would when setting up Predis elsewhere in your projects:

```
use Predis\Client;
use League\Flysystem\Filesystem;
use Danhunsaker\Flysystem\Redis\RedisAdapter;

$redis = new Client([
    'scheme' => 'tcp',
    'host'   => '10.0.0.1',
    'port'   => 6379,
]);
$adapter = new RedisAdapter($redis);
$filesystem = new Filesystem($adapter);
```

See the Predis docs for more on how to set it up...

And head to [GitHub](https://github.com/danhunsaker/flysystem-redis) for everything else.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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 ~256 days

Total

5

Last Release

2832d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1534396?v=4)[Hennik Hunsaker](/maintainers/danhunsaker)[@danhunsaker](https://github.com/danhunsaker)

---

Top Contributors

[![danhunsaker](https://avatars.githubusercontent.com/u/1534396?v=4)](https://github.com/danhunsaker "danhunsaker (15 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/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.3M74](/packages/unisharp-laravel-filemanager)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40129.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)[yii2-starter-kit/yii2-file-kit

Yii2 file upload and storage kit

151216.8k6](/packages/yii2-starter-kit-yii2-file-kit)

PHPackages © 2026

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