laminas/laminas-code
Extensions to the PHP Reflection API, static code scanning, and code generation observed · 2026-10-20
Health v2 · maintenance only
81/100
- Activity 100
- Release rhythm 47
- 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: 26
- age_days: 2485
- days_rel: 353
- days_push: 1
- n_releases_24m: 4
Adoption not part of the score
1904 stars · 86 forks observed · 2026-10-20
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-10-20 · 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 | 81 |
For agents
markdown · JSON · MCP: product_card(name="laminas/laminas-code")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem