Skip to content
CAI
Software that uses CAICheck a score

prooph/standard-projections

61.2

Adequate · 9 November 2026

112

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-based event sourcing library that facilitates the processing of domain events through various projection runners. It provides standardized mechanisms to aggregate and emit events from all streams, category-based streams, or message-name-based streams. The codebase includes comprehensive unit tests for these runners and utilizes modern PHP tooling for continuous integration and code quality checks.

Features

Added standard projection runners for all, category, and message name streams

Three new projection runner classes have been added to the src directory: AllStreamProjectionRunner, CategoryStreamProjectionRunner, and MessageNameStreamProjectionRunner. Each class encapsulates the logic for running a specific type of event stream projection via the ProjectionManager, allowing users to easily initialize and run projections for all events, category-based streams, or message-name-based streams.

src · high confidence

Behavioural changes

Migrated CI from Travis to Laminas and updated PHP requirements

The project has replaced Travis CI with Laminas continuous integration, evidenced by the new .laminas-ci.json configuration and the removal of .travis.yml. The minimum supported PHP version has been raised to 7.4, and the code style checker was updated to use the Prooph CS configuration (via .php-cs-fixer.php) in place of the legacy .php\_cs file. Additionally, the repository structure was updated with a new CHANGELOG.md, updated README with documentation and support links, and various configuration files (phpunit.xml, .coveralls.yml, .gitignore) were adjusted to reflect the new tooling and paths.

(repo-wide) · high confidence

Test coverage

Added test helper for domain events; Added tests for standard projection runners.

Dependencies

Updated PHP version support and dependencies in composer.json

The project now requires PHP 7.4 or 8.0–8.3, replacing the previous PHP 7.1 minimum. Several dependencies were updated or replaced: phpunit was upgraded to ^9.5.5, phpspec/prophecy to ^1.10.3, and php-coveralls to ^2.2. Additionally, prooph/pdo-event-store ^1.11 and prooph/bookdown-template ^0.2.3 were added to the development dependencies, while older dev dependencies like phpunit/phpunit-mock-objects and friendsofphp/php-cs-fixer were removed.

(dependencies) · medium 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 59 → 61 (+2.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 71 → 71 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 52 → 57 (+4.9)
  • Readiness 59 → 59 (+0.0)
  • Security 75 → 75 (+0.0)

Findings

  • No change — the same findings as the prior survey.

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/standard-projections 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 9 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 34851972a252b9746038f5f10c202b7a85a2f582 — 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-bb0cb800cd0f.