PHPackages                             handcraftedinthealps/redis-transport-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. handcraftedinthealps/redis-transport-bundle

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

handcraftedinthealps/redis-transport-bundle
===========================================

A symfony messenger transport implementation for redis streams.

1.2.2(1y ago)619.7k↓48.5%6[1 issues](https://github.com/handcraftedinthealps/RedisTransportBundle/issues)MITPHPPHP ^7.3 || ^8.0

Since Jan 24Pushed 1y ago2 watchersCompare

[ Source](https://github.com/handcraftedinthealps/RedisTransportBundle)[ Packagist](https://packagist.org/packages/handcraftedinthealps/redis-transport-bundle)[ RSS](/packages/handcraftedinthealps-redis-transport-bundle/feed)WikiDiscussions 1.2 Synced 1mo ago

READMEChangelog (9)Dependencies (15)Versions (12)Used By (0)

RedisTransportBundle ⛰
======================

[](#redistransportbundle-)

[![GitHub license](https://camo.githubusercontent.com/985e363e02c989e95f782d9fde09cf275af9a2cf32e059908e151b7550053625/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f68616e6463726166746564696e746865616c70732f52656469735472616e73706f727442756e646c652e737667)](https://github.com/handcraftedinthealps/RedisTransportBundle/blob/master/LICENSE)[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/841b31c4971c0575226d973635e046d793d1db68f66b51f1d1d8157468398194/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f68616e6463726166746564696e746865616c70732f52656469735472616e73706f727442756e646c652e737667)](https://github.com/handcraftedinthealps/RedisTransportBundle/releases)[![CircleCI](https://camo.githubusercontent.com/a31cfcfcc17c2775ca113c3261c6cd81dfae0d158f8351165df1a5aabcaf629e/68747470733a2f2f636972636c6563692e636f6d2f67682f73756c752f73756c752f747265652f646576656c6f702e7376673f7374796c653d736869656c64)](https://circleci.com/gh/handcraftedinthealps/RedisTransportBundle/tree/master)

A symfony messenger transport implementation for redis streams.

> **NOTE: Most of the logic has moved to the Core Symfony Messenger component in 4.3. So this bundle is not longer a requirement to use messenger with redis streams. You can now use the `redis://` instead of `redis-stream://` and remove this bundle from your requirements.**

Requirements
------------

[](#requirements)

- PHP: **`^7.1`**
    - Redis Extension: **`^4.2`**
- Redis Server: **`^5.0`**

Symfony compatibility
---------------------

[](#symfony-compatibility)

Symfony Messenger VersionBundle Version4.21.04.31.1When upgrading to symfony 4.3 you should replace this bundle with the symfony `redis://` transport and remove the bundle from your requirements.

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

[](#installation)

You need [composer](https://getcomposer.org) to install this bundle to your symfony application.

```
composer require handcraftedinthealps/redis-transport-bundle
```

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

[](#configuration)

### Symfony

[](#symfony)

When using the **symfony/framework-bundle** you can configure the following:

```
# config/packages/framework.yaml
framework:
    messenger:
        routing:
            'HandcraftedInTheAlps\Bundle\RedisTransportBundle\Message\DomainEventMessage':
                senders: ['redis_stream']
        transports:
            redis_stream: 'redis-stream://127.0.0.1:6379/my_stream/my_group/my_consumer'
```

You can then send a DomainEventMessage or your custom Message over the redis stream:

```
use HandcraftedInTheAlps\Bundle\RedisTransportBundle\Message\DomainEventMessage;

$this->messageBus->dispatch(
    new DomainEventMessage(
        'mountain.modified',    // the custom event action
        'mountain',             // the model which has been changed
        '1',                    // the model id or uuid
        [                       // the model payload
            'id' => '1',
            'name' => 'Piz Buin',
            'height' => 3312,
        ]
    )
);
```

And you can consume the messages with:

```
bin/console messenger:consume-messages redis_stream
```

Have also a look at the [messenger component documentation](https://symfony.com/doc/current/components/messenger.html) and [messenger usage documentation](https://symfony.com/doc/current/messenger.html).

Commands
--------

[](#commands)

Messages in streams won't be removed by default. Therefor this bundle provides a command:

```
bin/console redis-transport:trim  --maxlen 1000

```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance45

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% 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 ~229 days

Recently: every ~474 days

Total

11

Last Release

377d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1698337?v=4)[Alexander Schranz](/maintainers/alexander-schranz)[@alexander-schranz](https://github.com/alexander-schranz)

---

Top Contributors

[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (21 commits)")[![luca-rath](https://avatars.githubusercontent.com/u/5758674?v=4)](https://github.com/luca-rath "luca-rath (3 commits)")[![Prokyonn](https://avatars.githubusercontent.com/u/25978473?v=4)](https://github.com/Prokyonn "Prokyonn (2 commits)")[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (2 commits)")[![chirimoya](https://avatars.githubusercontent.com/u/627313?v=4)](https://github.com/chirimoya "chirimoya (2 commits)")[![martinlagler](https://avatars.githubusercontent.com/u/24388840?v=4)](https://github.com/martinlagler "martinlagler (1 commits)")[![niklasnatter](https://avatars.githubusercontent.com/u/13310795?v=4)](https://github.com/niklasnatter "niklasnatter (1 commits)")

---

Tags

message-busphpredissymfonysymfony-bundlesymfony-messenger

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/handcraftedinthealps-redis-transport-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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