PHPackages                             invis1ble/messenger - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. invis1ble/messenger

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

invis1ble/messenger
===================

Bus and Message Interfaces and Implementations.

v5.0.0(1y ago)04651MITPHPPHP &gt;=8.2

Since Sep 3Pushed 1y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (4)Versions (26)Used By (1)

Messenger
=========

[](#messenger)

[![CI Status](https://github.com/Invis1ble/messenger/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/Invis1ble/messenger/actions/workflows/ci.yml/badge.svg?event=push)[![Code Coverage](https://camo.githubusercontent.com/0aeb077f98c63b79548553fb3535a2a114f280828d52f3517e00883d2dd5df0e/68747470733a2f2f636f6465636f762e696f2f67682f496e76697331626c652f6d657373656e6765722f67726170682f62616467652e7376673f746f6b656e3d41515249503431374134)](https://codecov.io/gh/Invis1ble/messenger)[![Packagist](https://camo.githubusercontent.com/0212ff3b59bbb1c2e2c2e6d3d46012cace6493651660fed31c4f10182d56679f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f496e76697331626c652f6d657373656e6765722e737667)](https://packagist.org/packages/Invis1ble/messenger)[![MIT licensed](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](./LICENSE)

Bus and Message Interfaces and Implementations.

- Command &amp; Command Bus
- Query &amp; Query Bus
- Event &amp; Event Bus

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

[](#installation)

To install this package, you can use Composer:

```
composer require invis1ble/messenger
```

or just add it as a dependency in your `composer.json` file:

```
{
    "require": {
        "invis1ble/messenger": "^5.0"
    }
}
```

After adding the above line, run the following command to install the package:

```
composer install
```

Development
-----------

[](#development)

### Getting started

[](#getting-started)

1. If not already done, [install Docker Compose](https://docs.docker.com/compose/install/) (v2.10+)
2. Run `docker compose build --no-cache` to build fresh images
3. Run `docker compose up -d --wait` to start the Docker containers
4. Run `docker compose exec php composer install` to install dependencies
5. Run `docker compose down --remove-orphans` to stop the Docker containers.

### Check for Coding Standards violations

[](#check-for-coding-standards-violations)

Run PHP\_CodeSniffer checks:

```
docker compose exec -it php bin/php_codesniffer
```

Run PHP-CS-Fixer checks:

```
docker compose exec -it php bin/php-cs-fixer
```

Testing
-------

[](#testing)

To run Unit tests during development

```
docker compose exec php vendor/bin/phpunit
```

To run with coverage

```
XDEBUG_MODE=coverage docker compose up -d --wait
docker compose exec php vendor/bin/phpunit --coverage-clover var/log/coverage-clover.xml
```

License
-------

[](#license)

[The MIT License](./LICENSE)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~12 days

Total

24

Last Release

703d ago

Major Versions

v1.0.8 → v2.0.02024-04-30

2.1.8 → 3.0.02024-05-09

v3.0.2 → v4.0.02024-06-06

v4.0.0 → v5.0.02024-06-12

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

v2.1.0PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![Invis1ble](https://avatars.githubusercontent.com/u/1710944?v=4)](https://github.com/Invis1ble "Invis1ble (142 commits)")

---

Tags

commandcommand-buscqrseventevent-busmessage-busmessengerqueryeventquerycommandcommand busevent busMessengercqrsmessage busquery-bus

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/invis1ble-messenger/health.svg)

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

###  Alternatives

[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[prooph/service-bus-symfony-bundle

88392.2k3](/packages/prooph-service-bus-symfony-bundle)

PHPackages © 2026

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