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.7(1y ago)271.1M↓14.7%11[2 PRs](https://github.com/php-bundles/redis-bundle/pulls)5MITPHPPHP ^7.2||^8.0

Since Jun 2Pushed 1y 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 1mo ago

READMEChangelog (10)Dependencies (8)Versions (17)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

50

—

FairBetter than 96% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 53.3% 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 ~198 days

Recently: every ~292 days

Total

16

Last Release

657d 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 (32 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

[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[jamescauwelier/psredis

Sentinel client for the popular php redis client

77392.9k5](/packages/jamescauwelier-psredis)[mmoreram/rsqueue-bundle

Redis Symfony2 Queue Bundle, a simple and soft redis based message queue for symfony2

5360.7k1](/packages/mmoreram-rsqueue-bundle)[symfony-bundles/queue-bundle

Symfony Queue Bundle

3219.4k1](/packages/symfony-bundles-queue-bundle)[symfony-bundles/event-queue-bundle

Symfony EventQueue Bundle

2512.7k](/packages/symfony-bundles-event-queue-bundle)[ack/notification-bundle

Symfony real time notification system

259.3k](/packages/ack-notification-bundle)

PHPackages © 2026

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