Skip to content
CAI
Produce a survey ↗Verify a survey

php-service-bus/service-bus

This system is a PHP-based Service Bus framework designed to manage asynchronous message processing and event-driven architectures. It provides a modular infrastructure for routing, delivering, and executing messages through a configurable pipeline that supports automatic handler discovery, retry strategies, and structured logging. The framework abstracts away low-level transport and serialization details, allowing developers to define message handlers via PHP attributes and configure delivery options declaratively.

62.5

Adequate · 4 August 2026

5.2k

lines of production code

PHP

primary language

1

bus factor · 10 authors in all

4

measurements over time

CAI band scale
CAI trend line

How it got here

2017–2018 · Service Bus refactoring and modernization

The codebase underwent a major refactoring to transition from a legacy event-sourcing and Symfony-based architecture to a modern PHP Service Bus implementation. This involved removing obsolete domain and infrastructure classes, updating dependencies to PHP 8.1 and Symfony 6.0, and introducing new features like attribute-based handler configuration, message execution timeouts, and improved endpoint routing.

20 changes

2019 · Service bus architecture and logging

This period focused on establishing the core service bus architecture by implementing automatic message handler registration and dependency injection through new compiler passes and container builders. The work also introduced structured context management, granular exception handling, and configurable logging infrastructure with support for Graylog and standard output.

12 changes

2020–2021 · Service Bus implementation and test coverage

This period focused on implementing the Service Bus architecture, introducing PHP attributes for message handling configuration, and establishing a robust retry mechanism with failed message storage. Extensive test coverage was added across the endpoint, application, and infrastructure layers to validate these new features.

8 changes

CAI lens gauges

Survey your own repository

php-service-bus/service-bus was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 4 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit c87360077b — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards