Skip to content
CAI
Software that uses CAICheck a score

doctrine/common

55.0

Adequate · 17 November 2026

2.2k

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

Initial project configuration and documentation files

This change introduces the foundational configuration and documentation files for the Doctrine Common project. It adds \.doctrine-project.json\ to define version metadata (current 3.5, maintained 3.4-3.0, unmaintained 2.13-2.11), \.gitattributes\ and \.gitignore\ to manage repository exports and local artifacts, and standard configuration files for testing and static analysis (\phpunit.xml.dist\, \phpstan.neon.dist\, \psalm.xml\, \phpcs.xml.dist\). It also includes the \LICENSE\ (MIT), \README.md\, \SECURITY.md\, and upgrade guides (\UPGRADE\_TO\_2\_1\, \UPGRADE\_TO\_2\_2\) to inform users of migration paths and security reporting procedures.

(repo-wide) · high confidence

Behavioural changes

Deprecation of the Doctrine\\Common\\Proxy namespace

The entire \Doctrine\\Common\\Proxy\ namespace, including \AbstractProxyFactory\, \ProxyGenerator\, \Autoloader\, and related exception classes, is now deprecated as of doctrine/common 3.5. Users relying on this legacy proxy generation mechanism will receive deprecation notices and should migrate to the proxy handling provided by \doctrine/persistence\.

src/Proxy · high confidence

Introduction of deprecated Doctrine Common utility classes

The src directory now includes several classes from the Doctrine Common package, including ClassLoader, CommonException, Comparable, and utility classes in src/Util (ClassUtils and Debug). These components are marked as deprecated and will be removed in version 4.0 of doctrine/common. ClassLoader provides autoloading functionality, CommonException serves as a base exception class, Comparable defines an interface for object comparison, and the Util classes offer reflection and debugging helpers, with Debug specifically recommending migration to symfony/var-dumper.

src, src/Util · high confidence

Test coverage

Add test infrastructure and ignore rules; Added tests for ClassLoader and Proxy subsystems.

Dependencies

Initial release of doctrine/common with PHP 7.1+ and Doctrine Persistence support

This change introduces the \doctrine/common\ package via a new \composer.json\, establishing it as a standalone library. It requires PHP 7.1 or 8.0 and depends on \doctrine/persistence\ versions 2.0, 3.0, or 4.0. The package includes development dependencies for testing and static analysis, specifically PHPUnit (7.5.20, 8.5, or 9.0), PHPStan (1.4.1+), Psalm (4.4+), and Doctrine Coding Standard (9.0 or 14.0).

(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 56.3 → 55.0 (-1.3)
  • Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 69.4 → 62.1 (-7.3)
  • Architecture 99.9 → 97.3 (-2.6)
  • Maturity 36.7 → 38.2 (+1.5)
  • Readiness 74.3 → 74.0 (-0.3)
  • Security 74.8 → 74.8 (0.0)

Resolved (1)

  • Orphaned file (src/Proxy/Autoloader.php)

New (2)

  • Edited copy of a member (70 corresponding lines) (src/Proxy/ProxyGenerator.php)
  • Off the main sequence: src/Util

Changes since last survey

  • 5 commits — 5 feature/other, 0 fixes

By area

  • (root) — 4 commits
  • (repo) — 1 commit

Notable commits

  • change: Mark current branch as "lifeSupport"
  • change: Mark package as abandoned
  • change: Merge pull request #1059 from greg0ire/update-branch-metadata
  • change: Remove branchName from unmaintained versions
  • change: Remove branches with less than 2k daily downloads

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/common 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 2da5c8585bdc2be1bdbf726339aae752452ee95a — 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.85+preprod-eba6548ac50f.