PHPackages                             polysource/adapter-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. [Caching](/categories/caching)
4. /
5. polysource/adapter-redis

ActiveSymfony-bundle[Caching](/categories/caching)

polysource/adapter-redis
========================

Polysource — Redis hash adapter: read+write Redis-backed records (feature flags, lightweight config, session metadata).

v0.9.0(2mo ago)012MITPHP &gt;=8.1

Since May 10Compare

[ Source](https://github.com/polysource/adapter-redis)[ Packagist](https://packagist.org/packages/polysource/adapter-redis)[ Docs](https://github.com/polysource/polysource)[ RSS](/packages/polysource-adapter-redis/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (7)Versions (26)Used By (0)

polysource/adapter-redis
========================

[](#polysourceadapter-redis)

> Redis hashes adapter for Polysource — admin feature flags, rate-limit buckets, in-memory caches, any key/value or hash collection.

Part of the [Polysource](https://github.com/polysource/polysource) monorepo. MIT-licensed.

What it ships
-------------

[](#what-it-ships)

- **`RedisHashClientInterface`** (5 methods) — abstraction over the Redis client used by the data source. Decouples from Predis/PhpRedis specifics.
- **`PredisRedisHashAdapter`** — production implementation against `predis/predis`.
- **`InMemoryRedisHashFake`** — test double, no Redis needed.
- **`RedisHashDataSource`** — implements `WritableDataSourceInterface` with SCAN cursor pagination (no `KEYS` calls) and client-side filtering.
- **`RedisHashResource`** — non-final convenience base.

Install
-------

[](#install)

```
composer require polysource/adapter-redis predis/predis
```

Register the bundle:

```
return [
    Polysource\Adapter\Redis\PolysourceAdapterRedisBundle::class => ['all' => true],
];
```

Documentation
-------------

[](#documentation)

- [Adapter redis guide](../../docs/user/adapters/redis.md)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance86

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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 ~0 days

Total

25

Last Release

68d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41d53ab82016651b0a4a9ef71644a54f934d8bf54ccbc59fc0183f994213ef38?d=identicon)[samaym](/maintainers/samaym)

---

Tags

symfonyredisadapterfeature-flagspolysource

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polysource-adapter-redis/health.svg)

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

PHPackages © 2026

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