doctrine/instantiator
None observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 88
- Release rhythm 33
- 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: n/a
- age_days: 4409
- days_rel: 239
- days_push: 75
- n_releases_24m: 1
Adoption not part of the score
10988 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small, lightweight PHP library that creates new instances of any class without invoking its constructor or any of the class's own API. It is maintained under the Doctrine project and widely used as a dependency by testing and ORM tooling.
Use cases
- instantiate a PHP class without calling its constructor
- create object instances for unit tests without triggering side effects
- hydrate entities bypassing constructor logic
- create mock or fixture objects without constructor dependencies
- deserialize objects without running constructors
When to choose
- you need to create instances of classes whose constructors have required dependencies or side effects
- you are building testing tools, mocks, or hydrators in PHP
- you need a tiny, battle-tested utility with huge community adoption
When to avoid
- you want normal object construction with constructor logic executed
- you are not working in PHP
- you need serialization or property population, not just bare instantiation
Facets
library · maturity stable
developer-tools developer-tools programming-languages php object-instantiation reflection constructor-bypass doctrine testing-utility
8 sources
- readme: https://github.com/doctrine/instantiator · fetched 2026-08-28 · c263bb435355
- homepage: https://www.doctrine-project.org/projects/instantiator.html · fetched 2026-08-29 · 22e7d9d7a37c
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/2.1/index.html · fetched 2026-08-29 · 033b39e71ae8
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/2.2/index.html · fetched 2026-08-29 · 12694e8fb39c
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/2.0/index.html · fetched 2026-08-29 · 84976779cf4d
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/1.5/index.html · fetched 2026-08-29 · 0cf691e2438d
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/1.4/index.html · fetched 2026-08-29 · 7591c7f69d89
- site_page: https://www.doctrine-project.org/projects/doctrine-instantiator/en/1.3/index.html · fetched 2026-08-29 · e0e7966f76b1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/instantiator | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/instantiator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem