php-fig/container
36.4
Weak · 26 September 2026
49
lines of production code
PHP
primary language
4
measurements over time
What this system is
Features
PSR-11 Container Interface and Exception Types
The library now provides the PSR-11 \ContainerInterface\ along with \ContainerExceptionInterface\ and \NotFoundExceptionInterface\. The container interface defines \get()\ and \has()\ methods, with the \get()\ method throwing the new exception interfaces. The exception interfaces extend \Throwable\ to align with modern PHP practices, and the \NotFoundExceptionInterface\ extends \ContainerExceptionInterface\ to distinguish between general container errors and missing entries.
src · high confidence
Dependencies
Introduce PSR-11 Container Interface as a Composer dependency
The project now depends on the 'psr/container' package (version 2.0.x-dev), which provides the PSR-11 Common Container Interface. This dependency requires PHP 7.4.0 or higher and utilizes PSR-4 autoloading for the 'Psr\\Container' namespace mapped to the 'src/' directory.
(dependencies) · medium confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 38 → 36 (-1.9)
- Rubric changed (rubric-2026.08.15 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 31 → 23 (-8.0)
- Readiness 17 → 17 (+0.4)
- Security 100 → 100 (+0.0)
Resolved (2)
- Dimension evaluation failed
- No exposed public API
New (3)
- Documentation: no installation or build instructions (README.md)
- Documentation: no licence statement (README.md)
- Documentation: no usage examples (README.md)
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
php-fig/container 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 26 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 707984727bd5b2b670e59559d3ed2500240cf875 — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-a15879f6f801.