PHPackages                             superrb/redis-handler - 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. superrb/redis-handler

ActiveLibrary[Caching](/categories/caching)

superrb/redis-handler
=====================

A handler for Redis to use for Session handling and caching in Symfony/Doctrine

1.0.2(6y ago)040MITPHP

Since Aug 23Pushed 5y ago3 watchersCompare

[ Source](https://github.com/superrbstudio/redis-handler)[ Packagist](https://packagist.org/packages/superrb/redis-handler)[ Docs](https://gitlab.superrb.com/symfony/redis-handler)[ RSS](/packages/superrb-redis-handler/feed)WikiDiscussions master Synced 3w ago

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

SuperrbRedisHandlerBundle
=========================

[](#superrbredishandlerbundle)

Handler for using Redis with Symfony, Doctrine and Sessions

Storing sessions, application cache and doctrine cache in Redis can add some performance improvements, as well as centralising for multi server environments.

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

[](#installation)

### Step 1: Install the Bundle

[](#step-1-install-the-bundle)

```
composer require superrb/redis-handler
```

Add `Superrb\RedisHandlerBundle\SuperrbRedisHandlerBundle::class => ['all' => true],` to `config/bundles.php`

### Step 2: Add environment variables

[](#step-2-add-environment-variables)

```
###> superrb/redis-handler ###
SUPERRB_REDIS_URL=redis://127.0.0.1:6379
SUPERRB_REDIS_PREFIX=uniqueprefix_
###< superrb/redis-handler ###
```

Configuration
-------------

[](#configuration)

### Session Handling

[](#session-handling)

`config/packages/framework.yaml`

```
# Set up sessions and cache
framework:
    session:
        handler_id: superrb_redis.session_handler
```

### Symfony Cache

[](#symfony-cache)

`config/packages/cache.yaml`

```
framework:
    cache:
        app: cache.adapter.redis
        system: cache.adapter.redis
        default_redis_provider: superrb_redis.service
```

### Doctrine Cache

[](#doctrine-cache)

`config/packages/doctrine.yaml`

```
doctrine:
    orm:
        metadata_cache_driver:
            type: service
            id: superrb_redis.doctrine_cache
        result_cache_driver:
            type: service
            id: superrb_redis.doctrine_cache
        query_cache_driver:
            type: service
            id: superrb_redis.doctrine_cache
```

Issues and Troubleshooting
--------------------------

[](#issues-and-troubleshooting)

All issues:

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

2504d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/854ddd08c308e3eb27145572f8c872a4170049243b2c1e82a89ac2cdc57317c3?d=identicon)[superrb](/maintainers/superrb)

---

Top Contributors

[![iknowfoobar](https://avatars.githubusercontent.com/u/255807?v=4)](https://github.com/iknowfoobar "iknowfoobar (10 commits)")

---

Tags

cms

### Embed Badge

![Health badge](/badges/superrb-redis-handler/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

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

Concrete core subtree split

20166.1k49](/packages/concrete5-core)[millipress/millicache

WordPress Full-Page Cache based on Rules &amp; Flags. Delivers flexible, scalable caching workflows backed by Redis and ValKey in-memory stores.

722.9k2](/packages/millipress-millicache)[nystudio107/craft-fastcgicachebust

Bust the Nginx FastCGI Cache when entries are saved or created.

1954.2k3](/packages/nystudio107-craft-fastcgicachebust)[offline/oc-speedy-plugin

Speed up your October CMS installation

181.1k](/packages/offline-oc-speedy-plugin)

PHPackages © 2026

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