PHPackages                             becklyn/messaging - 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. becklyn/messaging

ActiveLibrary

becklyn/messaging
=================

0.1.2(4y ago)0942BSD-3-ClausePHPPHP &gt;=8.0

Since Nov 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Becklyn/messaging)[ Packagist](https://packagist.org/packages/becklyn/messaging)[ RSS](/packages/becklyn-messaging/feed)WikiDiscussions 0.x Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

messaging
=========

[](#messaging)

**becklyn/messaging** provides technology independent abstractions for asynchronous messaging.

🚧 *Currently only a Redis backend is available!*

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

[](#installation)

```
composer require becklyn/messaging
```

Getting started
---------------

[](#getting-started)

Creating messages is done using a **MessageBuilder**. By default, there is a JSON Builder based on Symfony Serializer. Messages can be published using the **Publisher**:

```
$builder = new SymfonyJsonSerializedMessageBuilder($serializer);
$message = $builder->build("content", "destination");

$publisher = new Publisher($connection, $serializer);
$publisher->publish($message);
```

Consuming messages is as simple as publishing them. For this task the library offers a **Consumer**. Together with a **Worker**, Messages can be processed on delivery:

```
class SampleWorker implements Worker
{
    public function execute(Message $message) : void
    {
        // TODO: Process the received message ...
        \var_dump($message);
    }
}
```

```
$queue = new QueueDefinition("destination");
$params = new ConsumerParams();

$consumer = new Consumer($connection, $serializer, $lifecycleManager);
$consumer->consume(new SampleWorker(), $queue, $params);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

4

Last Release

1624d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1044355?v=4)[Becklyn Studios](/maintainers/becklyn)[@Becklyn](https://github.com/Becklyn)

### Embed Badge

![Health badge](/badges/becklyn-messaging/health.svg)

```
[![Health](https://phpackages.com/badges/becklyn-messaging/health.svg)](https://phpackages.com/packages/becklyn-messaging)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[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)[sulu/sulu

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

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

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

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

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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