laminas/laminas-code
Extensions to the PHP Reflection API, static code scanning, and code generation observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 54
- 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: 26
- age_days: 2437
- days_rel: 305
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
1904 stars · 87 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library extending the Reflection API with static code scanning and object-oriented code generation. It can generate new PHP code or update existing code programmatically.
Use cases
- generate PHP classes programmatically
- scan and analyze PHP source code statically
- extend the PHP Reflection API
- build code scaffolding tools
- modify existing PHP files via an object-oriented interface
When to choose
- you need to generate or rewrite PHP code as part of a tool or framework
- you need richer reflection and static scanning than PHP's built-in Reflection API
When to avoid
- you need code generation for languages other than PHP without custom extension
- you just need runtime reflection without code generation
Facets
library · maturity active
parser developer-tools plugin-system developer-tools programming-languages php cli reflection-api code-generation static-analysis php automation
3 sources
- readme: https://github.com/laminas/laminas-code · fetched 2026-08-28 · 6b0bc9a0ab62
- homepage: https://docs.laminas.dev/laminas-code/ · fetched 2026-08-29 · b3f11571498a
- site_page: https://docs.laminas.dev/ · fetched 2026-08-29 · e65b2de0cace
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| laminas/laminas-code | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="laminas/laminas-code")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem