doctrine/annotations
Annotations Docblock Parser observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 56
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 4981
- days_rel: 727
- days_push: 265
- n_releases_24m: 2
Adoption not part of the score
6731 stars · 233 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Doctrine Annotations is a PHP library that parses docblock annotations (@-syntax in PHPDoc comments) and exposes them via reflection-based reader classes. It is feature complete and in maintenance mode, since PHP 8 native attributes replace it.
Use cases
- parse annotations from php docblocks
- read custom annotations on php classes via reflection
- maintain legacy doctrine orm annotation mappings
- define custom annotation classes for configuration metadata
- migrate php annotations to native attributes
When to choose
- you maintain a legacy codebase or dependency that still uses Doctrine annotations
- you must support PHP versions before 8.0 where attributes are unavailable
When to avoid
- starting a new PHP project - use native PHP 8 attributes instead
- you need a library with active feature development
- building downstream libraries without a legacy compatibility requirement
Facets
library · maturity maintenance
parser developer-tools developer-tools programming-languages parsers php docblock annotations reflection doctrine php-attributes deprecated
10 sources
- readme: https://github.com/doctrine/annotations · fetched 2026-08-28 · 615beee77ec2
- homepage: https://www.doctrine-project.org/projects/annotations.html · fetched 2026-08-29 · 0d3ef675d958
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/2.0/index.html · fetched 2026-08-29 · fd672031a3b1
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.14/index.html · fetched 2026-08-29 · 2ecfac6c303d
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.13/index.html · fetched 2026-08-29 · 446ed183a413
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.12/index.html · fetched 2026-08-29 · a2af56659221
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.11/index.html · fetched 2026-08-29 · fb9752cb6727
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.10/index.html · fetched 2026-08-29 · e2628f1b2f2f
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.9/index.html · fetched 2026-08-29 · c51690493fd4
- site_page: https://www.doctrine-project.org/projects/doctrine-annotations/en/1.8/index.html · fetched 2026-08-29 · b5dab954997a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/annotations | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/annotations")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem