phpDocumentor/TypeResolver
Some data may be outdated — see provenance labels.
A PSR-5 based resolver of Class names, Types and Structural Element Names observed · 2026-09-25
Health v2 · maintenance only
70/100
- Activity 67
- Release rhythm 57
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 4.0
- age_days: 4150
- days_rel: 287
- days_push: 202
- n_releases_24m: 7
Adoption not part of the score
9154 stars · 52 forks observed · 2026-09-25
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PHP library that resolves DocBlock type expressions and structural element names according to PSR-5, turning partial class names into fully qualified names. It provides TypeResolver and FqsenResolver classes that return value objects for types like primitives, compounds, arrays, and FQSENs.
Use cases
- resolve docblock type annotations into type objects
- convert partial class names to fully qualified class names
- parse @var and @return type expressions in PHP docblocks
- resolve FQSENs for methods, properties, and constants
- build static analysis or documentation tools for PHP
When to choose
- you are building a PHP documentation generator or static analyzer
- you need PSR-5 compliant type parsing in PHP
- you need to resolve partial class names against a class context
When to avoid
- you need runtime type checking or validation of values
- you work outside the PHP ecosystem
- you need full static analysis rather than name/type resolution
Facets
library · maturity stable
parser developer-tools developer-tools documentation programming-languages php psr-5 docblock fqsen type-resolution static-analysis
1 source
- readme: https://github.com/phpDocumentor/TypeResolver · fetched 2026-09-25 · b7fc533a2969
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| phpDocumentor/TypeResolver | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="phpDocumentor/TypeResolver")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem