PHPackages                             werkspot/message-bus-werkspot-message-queue-adapter - 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. werkspot/message-bus-werkspot-message-queue-adapter

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

werkspot/message-bus-werkspot-message-queue-adapter
===================================================

The adapter that allows for werkspot/message-queue to be used with werkspot/message-bus.

014PHP

Since Oct 9Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Werkspot/message-bus-werkspot-message-queue-adapter)[ Packagist](https://packagist.org/packages/werkspot/message-bus-werkspot-message-queue-adapter)[ RSS](/packages/werkspot-message-bus-werkspot-message-queue-adapter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Werkspot \\ MessageBus \\ MessageQueue \\ WerkspotMessageQueue
==============================================================

[](#werkspot--messagebus--messagequeue--werkspotmessagequeue)

[![Author](https://camo.githubusercontent.com/ec56dda7b3b4228f9a281cbbdddd6e807a495d3c1a1f33e0be015a6775bdbb64/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d5765726b73706f742d626c75652e7376673f7374796c653d666c61742d737175617265)](https://www.werkspot.com)[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/5972ced0222adc4291a66f89236bd581ad14f9f1e6a8143efaeb746b4b2982b5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7765726b73706f742f6d6573736167652d6275732d7765726b73706f742d6d6573736167652d71756575652d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/werkspot/message-bus-werkspot-message-queue-adapter/releases)[![Total Downloads](https://camo.githubusercontent.com/156c15ac185d659f99496ce4832b19a81d91f3f8729fbcf804382cd64ab81a1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765726b73706f742f6d6573736167652d6275732d7765726b73706f742d6d6573736167652d71756575652d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/werkspot/message-bus-werkspot-message-queue-adapter)

[![Build Status](https://camo.githubusercontent.com/d926b49a17fc188b0790dad9102ba45ff842d9f48fdeadf36cec085a69841128/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f7765726b73706f742f6d6573736167652d6275732d7765726b73706f742d6d6573736167652d71756575652d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/werkspot/message-bus-werkspot-message-queue-adapter/build)[![Coverage Status](https://camo.githubusercontent.com/4d611c2fcc4cde3c01a65c7dd41f11a8a237dc0789e5f3ce9a2a1399b40c995b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7765726b73706f742f6d6573736167652d6275732d7765726b73706f742d6d6573736167652d71756575652d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/werkspot/message-bus-werkspot-message-queue-adapter/code-structure)[![Quality Score](https://camo.githubusercontent.com/f4531e1beedde1faf2f65640fb8ff32bdcd7ab939557499d17ca2d892e4af833/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7765726b73706f742f6d6573736167652d6275732d7765726b73706f742d6d6573736167652d71756575652d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/werkspot/message-bus-werkspot-message-queue-adapter)

This is an adapter around Werkspot\\MessageQueue, so Werkspot\\MessageBus can use it and still be decoupled.

Usage
-----

[](#usage)

The `MessageDispatcher` is the entry point to the message bus. There are already a few middlewares provided with this library, which you can find in `src/Bus/DeliveryChain`.

```
    use Werkspot\MessageBus\MessageQueue\WerkspotMessageQueue\MessageQueueService;
    use Werkspot\MessageQueue\MessageQueueService as WerkspotMessageQueueService;

    $message = new AsynchronousMessage('payload', 'destination', ['metadata']);

    $messageQueueService = new MessageQueueService(new WerkspotMessageQueueService(/* ... */));

    $messageQueueService->enqueueMessage($message);
```

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

[](#installation)

To install the library, run the command below and you will get the latest version:

```
composer require werkspot/message-bus-werkspot-message-queue-adapter

```

Tests
-----

[](#tests)

To execute the tests run:

```
make test
```

Coverage
--------

[](#coverage)

To generate the test coverage run:

```
make test_with_coverage
```

Code standards
--------------

[](#code-standards)

To fix the code standards run:

```
make cs-fix
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/99d3da37dfb742ac4a51091f756f8a632cc9d4a12f433fe3c6a51056808372f6?d=identicon)[werkspot](/maintainers/werkspot)

---

Top Contributors

[![hgraca](https://avatars.githubusercontent.com/u/1809002?v=4)](https://github.com/hgraca "hgraca (19 commits)")[![MarijnKoesen](https://avatars.githubusercontent.com/u/711208?v=4)](https://github.com/MarijnKoesen "MarijnKoesen (1 commits)")

### Embed Badge

![Health badge](/badges/werkspot-message-bus-werkspot-message-queue-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/werkspot-message-bus-werkspot-message-queue-adapter/health.svg)](https://phpackages.com/packages/werkspot-message-bus-werkspot-message-queue-adapter)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M30](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M508](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[jayazhao/think-queue-rabbitmq

为 ThinkPHP5.1 队列增加 RabbitMQ 驱动

141.5k](/packages/jayazhao-think-queue-rabbitmq)[mayconbordin/l5-stomp-queue

Stomp Queue Driver for Laravel 5

121.1k](/packages/mayconbordin-l5-stomp-queue)

PHPackages © 2026

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