Skip to content
CAI
Software that uses CAICheck a score

doctrine/event-manager

55.6

Adequate · 17 November 2026

231

lines of production code

PHP

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Introduce new event system interfaces and implementation

The library now provides a structured event system consisting of new interfaces (EventDispatcher, EventListenerIntrospector, EventListenerRegistry, EventSubscriberRegistry, EventManagerInterface) and a concrete EventManager implementation, along with an EventArgs base class. This allows users to type-hint against specific capabilities (dispatching, introspection, registration) and register listeners or subscribers via the new API.

src · high confidence

Removals

Obsolete Doctrine 1.x manual code samples removed

The manual/codes directory has been cleared of all PHP code examples that demonstrated the legacy Doctrine 1.x API (including classes like Doctrine\_Manager, Doctrine\_Session, Doctrine\_Record, and Doctrine\_Collection). These files are now deleted, meaning the manual no longer provides copy-pasteable code snippets for these outdated components.

manual/codes · high confidence

Behavioural changes

License changed to MIT and event listener API made stricter

The project license has been updated from LGPL to MIT. Additionally, the Event Manager's API behavior has changed: calling \EventManager::getListeners()\ now requires an event name argument, and a new \getAllListeners()\ method has been introduced to retrieve listeners for all events, ensuring more explicit event handling.

(repo-wide) · high confidence

Test coverage

Added unit tests for EventManager

Added a new test suite for the EventManager class, covering listener and subscriber registration, event dispatching, and removal of listeners and subscribers.

tests · high confidence

Dependencies

Doctrine Event Manager requires PHP 8.1 and updates development dependencies

The Doctrine Event Manager library now requires PHP 8.1 or higher, dropping support for older PHP versions. Development tooling has been updated to use PHPUnit 10.5.58, PHPStan 2.1.32, and Doctrine Coding Standard 14. Additionally, the project now includes a separate composer.json for documentation building, requiring the doctrine/docs-builder package.

(dependencies) · 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 57.2 → 55.6 (-1.6)
  • Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 100.0 → 100.0 (0.0)
  • Architecture 69.0 → 69.0 (0.0)
  • Maturity 40.1 → 36.7 (-3.4)
  • Readiness 74.5 → 74.5 (0.0)
  • Security 69.7 → 69.7 (0.0)

Findings

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

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (repo) — 1 commit
  • .github/workflows — 1 commit

Notable commits

  • change: Bump the doctrine group with 7 updates
  • change: Merge pull request #123 from doctrine/dependabot/github_actions/doctrine-10b983675c

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

Survey your own repository

doctrine/event-manager 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 17 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 ad005d93052589dff9d81f90bd8c0776845e14ba — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.84+preprod-d645ca9bbedd.