Skip to content
CAI
Software that uses CAICheck a score

prooph/event-store-bus-bridge

59.1

Adequate · 8 November 2026

419

lines of production code

PHP

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a PHP library that bridges an event store with a service bus to ensure transactional consistency and event traceability. It automatically wraps command dispatches in transactions, defers event publishing until commit, and enriches domain events with causation metadata. The library provides container factories for flexible dependency injection and includes comprehensive test coverage for its core components.

Features

Added container factories for EventPublisher and TransactionManager

New factory classes (EventPublisherFactory and TransactionManagerFactory) have been added to the Container component to simplify the instantiation of EventPublisher and TransactionManager services. These factories allow users to configure custom service names for the underlying EventBus and EventStore dependencies via the container, enabling more flexible dependency injection setups without hardcoding service identifiers.

src/Container · high confidence

New transactional event handling and causation metadata enrichment

This release introduces three new components to the event-store-bus bridge: a TransactionManager that automatically wraps command dispatches in event store transactions (committing on success, rolling back on exception), an EventPublisher that dispatches recorded events to the service bus (deferring dispatch until transaction commit if inside a transaction), and a CausationMetadataEnricher that attaches configurable causation ID and name metadata to domain events. These changes enable automatic transactional consistency for command handlers and better event traceability.

src · high confidence

Test coverage

Added tests for CausationMetadataEnricher, EventPublisher, and TransactionManager; Added tests for container factory classes.

Dependencies

Initial release of prooph/event-store-bus-bridge

This change introduces the initial composer.json for the prooph/event-store-bus-bridge library, establishing the project's dependency requirements. It specifies support for PHP 7.3 and 8.0, and defines production dependencies on prooph/common (^4.2.1), prooph/service-bus (^6.3), and prooph/event-store (^7.3.1). Development dependencies include PHPUnit ^9.3, Prophecy, and various prooph tooling packages for code style and documentation.

(dependencies) · high confidence

Housekeeping

Repository initialization and CI configuration

The repository has been initialized with standard development tooling, including a Travis CI configuration that tests the project against PHP 7.3, 7.4, and 8.0, a PHPUnit configuration for running the test suite, and a PHP CS Fixer setup to enforce code style consistency.

(repo-wide) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 59 (+2.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 70 → 70 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 41 → 48 (+6.1)
  • Readiness 64 → 64 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (1)

  • Documentation: no project overview (README.md)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

prooph/event-store-bus-bridge 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 a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8df1c8ab6ea3ad9254117e40af827bdd8841c7e4 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.