PHPackages                             spryker/message-broker - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. spryker/message-broker

ActiveLibrary[Queues &amp; Workers](/categories/queues)

spryker/message-broker
======================

MessageBroker module

1.15.0(1y ago)01.4M↓20.3%20proprietaryPHPPHP &gt;=8.2CI passing

Since Jan 25Pushed 6mo ago6 watchersCompare

[ Source](https://github.com/spryker/message-broker)[ Packagist](https://packagist.org/packages/spryker/message-broker)[ RSS](/packages/spryker-message-broker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (17)Versions (29)Used By (20)

MessageBroker Module
====================

[](#messagebroker-module)

[![Latest Stable Version](https://camo.githubusercontent.com/01556381029e6bf055c01a365258018fe67184d82457ed1b16c3f19e4ba7b575/68747470733a2f2f706f7365722e707567782e6f72672f737072796b65722f6d6573736167652d62726f6b65722f762f737461626c652e737667)](https://packagist.org/packages/spryker/message-broker)[![Minimum PHP Version](https://camo.githubusercontent.com/9c50dc780fa576f5c39b4feff00c05345c1471be0808881a09e750b91220dc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)

Wraps message in a Symfony Envelope and sends it through the configured transport. Starts a worker processes for the defined channels.

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

[](#installation)

```
composer require spryker/message-broker

```

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

[](#documentation)

[Spryker Documentation](https://docs.spryker.com)

### Configuration example (config\_x.php)

[](#configuration-example-config_xphp)

This is just an example for testing purposes and the real configuration will be made via env variables.

```
$config[MessageBrokerAwsConstants::SNS_SENDER_CONFIG] = [
    'endpoint' => 'https://sns.eu-central-1.amazonaws.com',
    'accessKeyId' => '...',
    'accessKeySecret' => '...',
    'region' => 'eu-central-1',
    'topic' => 'arn:aws:sns:eu-central-1:...:message-broker-test',
];

$config[MessageBrokerAwsConstants::SQS_RECEIVER_CONFIG] = [
    'endpoint' => 'https://sqs.eu-central-1.amazonaws.com',
    'account' => '...',
    'accessKeyId' => '...',
    'accessKeySecret' => '...',
    'region' => 'eu-central-1',
    'queue_name' => 'message-broker-test',
    'poll_timeout' => 5,
    'queueUrl' => 'https://sqs.eu-central-1.amazonaws.com/.../message-broker-test',
    'auto_setup' => false,
];

$config[MessageBrokerAwsConstants::CHANNEL_TO_SENDER_CLIENT_MAP] = [
    'payment' => 'sns',
];

$config[MessageBrokerAwsConstants::CHANNEL_TO_RECEIVER_CLIENT_MAP] = [
    'payment' => 'sqs',
];

$config[MessageBrokerConstants::MESSAGE_TO_CHANNEL_MAP] = [
    PaymentMethodTransfer::class => 'payment',
];

$config[MessageBrokerAwsConstants::MESSAGE_TO_CHANNEL_MAP] = [
    PaymentMethodTransfer::class => 'payment',
];
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance56

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor5

5 contributors hold 50%+ of commits

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

Recently: every ~67 days

Total

25

Last Release

482d ago

PHP version history (4 changes)1.0.0PHP &gt;=7.4

1.2.1PHP &gt;=8.0

1.9.1PHP &gt;=8.1

1.12.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10738957?v=4)[Spryker Bot](/maintainers/spryker-bot)[@spryker-bot](https://github.com/spryker-bot)

---

Top Contributors

[![pushokwhite](https://avatars.githubusercontent.com/u/4017411?v=4)](https://github.com/pushokwhite "pushokwhite (6 commits)")[![oleksander-kiiashko](https://avatars.githubusercontent.com/u/80702205?v=4)](https://github.com/oleksander-kiiashko "oleksander-kiiashko (5 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (4 commits)")[![danielsantos-spryker](https://avatars.githubusercontent.com/u/117193368?v=4)](https://github.com/danielsantos-spryker "danielsantos-spryker (4 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (4 commits)")[![geega](https://avatars.githubusercontent.com/u/1426310?v=4)](https://github.com/geega "geega (4 commits)")[![gechetspr](https://avatars.githubusercontent.com/u/42143273?v=4)](https://github.com/gechetspr "gechetspr (2 commits)")[![a-sabaa](https://avatars.githubusercontent.com/u/1667759?v=4)](https://github.com/a-sabaa "a-sabaa (2 commits)")[![spryker-release-bot](https://avatars.githubusercontent.com/u/26904324?v=4)](https://github.com/spryker-release-bot "spryker-release-bot (2 commits)")[![vol4onok](https://avatars.githubusercontent.com/u/5063777?v=4)](https://github.com/vol4onok "vol4onok (1 commits)")[![asmarovydlo](https://avatars.githubusercontent.com/u/15832795?v=4)](https://github.com/asmarovydlo "asmarovydlo (1 commits)")[![demkos](https://avatars.githubusercontent.com/u/2093777?v=4)](https://github.com/demkos "demkos (1 commits)")[![jaume-spryker](https://avatars.githubusercontent.com/u/117280664?v=4)](https://github.com/jaume-spryker "jaume-spryker (1 commits)")[![jfernandezsw](https://avatars.githubusercontent.com/u/83318802?v=4)](https://github.com/jfernandezsw "jfernandezsw (1 commits)")[![RuslanKhudenko](https://avatars.githubusercontent.com/u/10045311?v=4)](https://github.com/RuslanKhudenko "RuslanKhudenko (1 commits)")[![stereomon](https://avatars.githubusercontent.com/u/1382877?v=4)](https://github.com/stereomon "stereomon (1 commits)")[![aleksandr-velikanov](https://avatars.githubusercontent.com/u/105643831?v=4)](https://github.com/aleksandr-velikanov "aleksandr-velikanov (1 commits)")

### Embed Badge

![Health badge](/badges/spryker-message-broker/health.svg)

```
[![Health](https://phpackages.com/badges/spryker-message-broker/health.svg)](https://phpackages.com/packages/spryker-message-broker)
```

###  Alternatives

[spryker/search

Search module

152.8M64](/packages/spryker-search)

PHPackages © 2026

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