PHPackages                             idanieldrew/esb - 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. idanieldrew/esb

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

idanieldrew/esb
===============

This package support Pub/Sub rabbitmq and also support queue driver laravel.

v1.0.7(2y ago)114MITPHPPHP ^8.0

Since May 22Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

 [![esb](art/logo.png)](art/logo.png)

 [![Total Downloads](https://camo.githubusercontent.com/58783b852ea2cf6d968ae296dd75c16d50319920b47759093c62c59e92f79215/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6964616e69656c647265772f657362)](https://packagist.org/packages/pestphp/pest) [![Latest Version](https://camo.githubusercontent.com/ec467924bec1136e4f989df2cde64c69f0921f2f6ac59b7ea985b83634f928dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f6964616e69656c647265772f657362)](https://packagist.org/packages/idanieldrew/esb) [![License](https://camo.githubusercontent.com/5ff563c64405bcd077ed6d4fa84a18dc49c9fd4b5adb9472a43b0a7d7d78d485/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6964616e69656c647265772f657362)](https://packagist.org/packages/pestphp/pest)

Esb support Pub/Sub in php and also support queue driver for Laravel.

- [Installation](#installation)
- [Usage](#usage)
    - [Quick start](#quick-start)
        - [Publish](#publish)
        - [Consume](#consume)

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

[](#installation)

Install with composer

```
composer require idanieldrew/esb

```

To publish the config

```
php artisan vendor:publish

```

and then select "esb-config" tag

Usage
-----

[](#usage)

### Quick start

[](#quick-start)

#### Publish

[](#publish)

Publish messages with default exchange

```
use Idanieldrew\Esb\Facades\Esb;

// Publish message to queue
Esb::publish('queue','message');

```

#### Consume

[](#consume)

Consume messages with default exchange

```
use Idanieldrew\Esb\Facades\Esb;

// Consume messages from queue
Esb::consume('queue', function ($message, $res) {
            var_dump($message->body);
        });

```

Consume messages from default queue in esb-config:

```
use Idanieldrew\Esb\Facades\Esb;

Esb::consume('', function ($message, $res) {
            var_dump($message->body);
        });

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

7

Last Release

1084d ago

### Community

Maintainers

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

---

Top Contributors

[![idanieldrew](https://avatars.githubusercontent.com/u/81190356?v=4)](https://github.com/idanieldrew "idanieldrew (41 commits)")

---

Tags

phplaravelqueuerabbitmqpublishsubscribe

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/idanieldrew-esb/health.svg)

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

###  Alternatives

[nuwber/rabbitevents

The Nuwber RabbitEvents package

120515.8k3](/packages/nuwber-rabbitevents)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.5k](/packages/mookofe-tail)[convenia/pigeon

3233.0k](/packages/convenia-pigeon)[iamfarhad/laravel-rabbitmq

A robust RabbitMQ driver for Laravel Queue with advanced message queuing, reliable delivery, and high-performance async processing capabilities

3215.6k](/packages/iamfarhad-laravel-rabbitmq)

PHPackages © 2026

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