PHPackages                             symfony-bundles/redis-bundle - 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. symfony-bundles/redis-bundle

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

symfony-bundles/redis-bundle
============================

Symfony Redis Bundle

3.1.8(2mo ago)291.2M↓61.1%11[2 PRs](https://github.com/php-bundles/redis-bundle/pulls)5MITPHPPHP ^7.2||^8.0CI failing

Since Jun 2Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/php-bundles/redis-bundle)[ Packagist](https://packagist.org/packages/symfony-bundles/redis-bundle)[ Docs](https://github.com/symfony-bundles/redis-bundle)[ RSS](/packages/symfony-bundles-redis-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (16)Versions (18)Used By (5)

SymfonyBundlesRedisBundle
=========================

[](#symfonybundlesredisbundle)

[![Build](https://github.com/symfony-bundles/redis-bundle/workflows/Symfony/badge.svg?branch=master)](https://github.com/symfony-bundles/redis-bundle/actions?query=workflow%3ASymfony+branch%3Amaster)[![Code Coverage](https://camo.githubusercontent.com/c03cc8b089ef2ecda54492d7e25d50e3e225cb2629018fd4405651ba042439ee/68747470733a2f2f636f6465636f762e696f2f67682f7068702d62756e646c65732f72656469732d62756e646c652f67726170682f62616467652e7376673f746f6b656e3d4e3178485736694c476c)](https://codecov.io/gh/php-bundles/redis-bundle)[![Total Downloads](https://camo.githubusercontent.com/78fc29a088e6abb99d014ad66980409e63a2435bdfc5a09010b78484b252adfe/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f72656469732d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/symfony-bundles/redis-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/18bd88fd6a6a3ee89b1a3fba6bac910d29902e532e613be6e64c9166a8757ac2/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f72656469732d62756e646c652f762f737461626c65)](https://packagist.org/packages/symfony-bundles/redis-bundle)[![License](https://camo.githubusercontent.com/81b8c8516b188d49a2482f635e1f14ccb6b0871b7719fd02032f1e963d24c90f/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f72656469732d62756e646c652f6c6963656e7365)](https://github.com/symfony-bundles/redis-bundle/blob/master/LICENSE)

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

[](#installation)

- Require the bundle with composer:

```
composer req symfony-bundles/redis-bundle
```

Configuring of the clients
--------------------------

[](#configuring-of-the-clients)

If you want to configure Redis clients - create a configuration file. For example:

```
# config/packages/sb_redis.yaml
sb_redis:
    clients:
        default:
            $options:    []
            $parameters: ['tcp://127.0.0.1:6379?database=3']
```

If you want to configure Redis clients Sentinel:

```
# config/packages/sb_redis.yaml
sb_redis:
    clients:
        default:
            $options:
              replication: 'sentinel’
              service: 'mymaster'
              parameters:
                database: '3'
            $parameters: ['%env(REDIS_URL)%', '%env(REDIS_URL)%']
```

Read more about supported client options and connection parameters:

- [Client Options](https://github.com/nrk/predis/wiki/Client-Options#list-of-supported-client-options).
- [Connection Parameters](https://github.com/nrk/predis/wiki/Connection-Parameters#connection-parameters).

How to use
----------

[](#how-to-use)

Read more on the page [Quick tour](https://github.com/nrk/predis/wiki/Quick-tour).

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity50

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 52.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 ~225 days

Recently: every ~399 days

Total

17

Last Release

72d ago

Major Versions

v1.0.1 → v2.0.02018-02-04

2.2.0 → v3.0.02019-12-07

PHP version history (4 changes)v1.0.0PHP &gt;=5.6

v2.0.0PHP ^7.1.3

v3.0.0PHP ^7.2

3.1.0PHP ^7.2||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6610c7c63bc376406e4f75c07c5a0a4134fb72251d64e03ffeefe12a95f4ef1?d=identicon)[khaperets](/maintainers/khaperets)

---

Top Contributors

[![khaperets](https://avatars.githubusercontent.com/u/2507262?v=4)](https://github.com/khaperets "khaperets (48 commits)")[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (33 commits)")[![ScaryDonetskiy](https://avatars.githubusercontent.com/u/12470079?v=4)](https://github.com/ScaryDonetskiy "ScaryDonetskiy (8 commits)")[![alekseytupichenkov](https://avatars.githubusercontent.com/u/8191991?v=4)](https://github.com/alekseytupichenkov "alekseytupichenkov (1 commits)")[![dmytro-khaperets](https://avatars.githubusercontent.com/u/171946311?v=4)](https://github.com/dmytro-khaperets "dmytro-khaperets (1 commits)")

---

Tags

clientphpredissymfonysymfony-bundlesymfonybundleredisnosql

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/symfony-bundles-redis-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-bundles-redis-bundle/health.svg)](https://phpackages.com/packages/symfony-bundles-redis-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[snc/redis-bundle

A Redis bundle for Symfony

1.0k40.9M75](/packages/snc-redis-bundle)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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