PHPackages                             automa.net/eventbus - 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. automa.net/eventbus

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

automa.net/eventbus
===================

EventBus library

1.2(9mo ago)17.5kMITPHPPHP ^7.4|^8.0

Since Nov 4Pushed 9mo agoCompare

[ Source](https://github.com/Automa-net/EventBus)[ Packagist](https://packagist.org/packages/automa.net/eventbus)[ Docs](https://automa.net)[ RSS](/packages/automanet-eventbus/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (12)Used By (0)

Automa.net - EventBus
=====================

[](#automanet---eventbus)

[![Latest Stable Version](https://camo.githubusercontent.com/941a19a68be7f47a862ce86bbf65411b2fadb1d4792a84761fd9ab776a1a87da/687474703a2f2f706f7365722e707567782e6f72672f6175746f6d612e6e65742f6576656e746275732f76)](https://packagist.org/packages/automa.net/eventbus)[![Latest Unstable Version](https://camo.githubusercontent.com/5aa2588597aef8c2c7b1ba21fb3fb95477b069c41c8a7dfa8ea2819e42ea7be0/687474703a2f2f706f7365722e707567782e6f72672f6175746f6d612e6e65742f6576656e746275732f762f756e737461626c65)](https://packagist.org/packages/automa.net/eventbus)[![License](https://camo.githubusercontent.com/0a66723d57a62d4cfc78994a64b5783c124f52a1158638fb51583a73f46c9269/687474703a2f2f706f7365722e707567782e6f72672f6175746f6d612e6e65742f6576656e746275732f6c6963656e7365)](https://packagist.org/packages/automa.net/eventbus)[![PHP Version Require](https://camo.githubusercontent.com/6957748a9e61d0fb3ab19d0d4511744908f991c7675bbbc59ff05ca07d870f76/687474703a2f2f706f7365722e707567782e6f72672f6175746f6d612e6e65742f6576656e746275732f726571756972652f706870)](https://packagist.org/packages/automa.net/eventbus)

EventBus is a publish/subscribe event bus library.

The library gives the possibility to use multiple events buses at once, to do that use `EventBusManager`. Then you can register separately Domain EventBus and Integration EventBus.

- Required dependency injection container!

Drivers:
--------

[](#drivers)

- Direct - Instant resolve and dispatch event on handlers.
- RabbitMQ - Publish events on queue and execute them separately using consumers.

### Example of RabbitMq driver config:

[](#example-of-rabbitmq-driver-config)

```
$config = [
    'host' => INTEGRATION_EVENTBUS_AMQP_HOST,
    'port' => INTEGRATION_EVENTBUS_AMQP_PORT,
    'user' => INTEGRATION_EVENTBUS_AMQP_USER,
    'password' => INTEGRATION_EVENTBUS_AMQP_PASSWORD,
    'vhost' => INTEGRATION_EVENTBUS_AMQP_VHOST,
    'options' => [],

    'consumer' => [
        'queue' => INTEGRATION_EVENTBUS_AMQP_CONSUMER_QUEUE,
        'enable_heartbeat_sender' => false,
        'prefetch_count' => 3,
        'max_retries' => 3 // Default 3,
        'parking_lot_queue_name' => null // When max retries are exceeded and parking_lot is not set up, the message will be dropped.
    ],

    'publisher' => [
        'project' => INTEGRATION_EVENTBUS_PROJECT_NAME,
        'exchange' => INTEGRATION_EVENTBUS_AMQP_PUBLISHER_EXCHANGE,
        'routing_key_prefix' => INTEGRATION_EVENTBUS_AMQP_PUBLISHER_ROUTING_KEY_PREFIX,
    ],
];
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance57

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85% 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 ~125 days

Recently: every ~241 days

Total

9

Last Release

286d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2533d9502b8ab79a3b337e53146c2c7bd089a8657c1a2e9aae5e0531d401ac38?d=identicon)[slawekautomanet](/maintainers/slawekautomanet)

---

Top Contributors

[![SlawomirLech95](https://avatars.githubusercontent.com/u/122268135?v=4)](https://github.com/SlawomirLech95 "SlawomirLech95 (17 commits)")[![slawekautomanet](https://avatars.githubusercontent.com/u/117271985?v=4)](https://github.com/slawekautomanet "slawekautomanet (3 commits)")

---

Tags

rabbitmqeventbus

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/automanet-eventbus/health.svg)

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

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M879](/packages/php-amqplib-php-amqplib)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M65](/packages/php-amqplib-rabbitmq-bundle)[bunny/bunny

Performant pure-PHP AMQP (RabbitMQ) non-blocking ReactPHP library

7426.5M37](/packages/bunny-bunny)[enqueue/enqueue-bundle

Message Queue Bundle

27615.6M38](/packages/enqueue-enqueue-bundle)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)

PHPackages © 2026

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