PHPackages                             gmizera/service-bus-lite - 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. gmizera/service-bus-lite

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

gmizera/service-bus-lite
========================

Updated version of Service Bus for PHP

1.0(4y ago)0111MITPHPPHP &gt;=7.4

Since Jul 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gmizera/service-bus-lite)[ Packagist](https://packagist.org/packages/gmizera/service-bus-lite)[ Docs](https://github.com/gmizera/service-bus-lite)[ RSS](/packages/gmizera-service-bus-lite/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Service Bus Lite
================

[](#service-bus-lite)

Service Bus Lite is a PHP implementation of the popular NServiceBus in C#, you can find more information about a Service Bus on [Wikipedia](http://en.wikipedia.org/wiki/Enterprise_service_bus). This has been written with the influence of the popular [ShortBus](https://github.com/mhinze/ShortBus) library in C#.

\## Introduction

The idea of a service bus in a MVC Architecture is essentially a messaging queue that sits between the application logic (Controller) and your business logic (Domain). Upon firing requests at the message bus in the form of a Query or a Command, a matching Handler will be found and executed.

Your Handler will do your logic dependant on the type of request:

- Query - A query is your read layer and will request information such as fetching all users who are from a specific country. This should be a layer that talks to your persistance or cache layer and should NEVER do write actions.
- Command - A command is your write layer and will send information to your application such as creating records in your persistance layer, writing to logs etc.

### How do I get started?

[](#how-do-i-get-started)

Using [Composer](http://getcomposer.org/doc/00-intro.md), add the following into your composer.json

```
{
    "require": {
        psamatt/service-bus-lite": "dev-master"
    }
}
```

Now tell composer to download the bundle by running the following command:

`$ php composer.phar update psamatt/service-bus-lite`

### Examples

[](#examples)

To find how to use this library, check the [examples](https://github.com/psamatt/ServiceBusLite/tree/master/example).

### Integrated into...

[](#integrated-into)

This library has been integrated into the following PHP Frameworks:

- Symfony2 using [ServiceBusLiteBundle](https://github.com/psamatt/ServiceBusLiteBundle)

If you have integrated this into an unlisted Framework, then get in touch.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1748d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c1a63dca2408389a00a077f9cc4eee36aa72fd257e8a1388e3249c0b0b17201?d=identicon)[gmizera](/maintainers/gmizera)

---

Top Contributors

[![gmizera](https://avatars.githubusercontent.com/u/53573351?v=4)](https://github.com/gmizera "gmizera (2 commits)")

---

Tags

messagingesbservicebusnservicebusshortbus

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gmizera-service-bus-lite/health.svg)

```
[![Health](https://phpackages.com/badges/gmizera-service-bus-lite/health.svg)](https://phpackages.com/packages/gmizera-service-bus-lite)
```

###  Alternatives

[queue-interop/queue-interop

Promoting the interoperability of MQs objects. Based on Java JMS

48030.5M86](/packages/queue-interop-queue-interop)[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)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[enqueue/amqp-tools

Message Queue Amqp Tools

14721.1M12](/packages/enqueue-amqp-tools)[friendsofsymfony/message-bundle

Provides user-to-user messaging features for your Symfony application.

356872.3k5](/packages/friendsofsymfony-message-bundle)

PHPackages © 2026

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