doctrine/deprecations
Thin library around different deprecation strategies observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 87
- Release rhythm 37
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 212.5
- age_days: 2245
- days_rel: 207
- days_push: 80
- n_releases_24m: 3
Adoption not part of the score
1855 stars · 20 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A thin PHP library that wraps deprecation notification strategies, supporting trigger_error(E_USER_DEPRECATED), PSR-3 logging, and silent tracking. It is side-effect free by default and deduplicates deprecation messages to reduce overhead.
Use cases
- manage deprecation warnings in a php library
- route deprecation notices to a psr-3 logger
- track how often deprecated apis are triggered
- suppress specific deprecations or whole packages
- trigger deprecations only for external callers
When to choose
- you maintain a php library and need a dependency-light deprecation mechanism
- you want deprecations collected without relying on global error handler state
- you need deduplication and counting of triggered deprecations
When to avoid
- you need a general-purpose logging solution rather than deprecation handling
- your project does not use php or composer
Facets
library · maturity stable
logging error-handling developer-tools developer-tools php cross-platform deprecations psr-3 trigger-error doctrine php libraries
4 sources
- readme: https://github.com/doctrine/deprecations · fetched 2026-08-28 · 0c09c4689adb
- homepage: https://doctrine-project.org · fetched 2026-08-29 · 6d7d6496fc0f
- site_page: https://www.doctrine-project.org/projects/doctrine-orm/en/current/tutorials/getting-started.html · fetched 2026-08-29 · 0cf13450132c
- site_page: https://www.doctrine-project.org/2024/10/14/doctrine-core-team-meetup-2024.html · fetched 2026-08-29 · 17c289011ed0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/deprecations | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/deprecations")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem