PHPackages                             doctrine/reflection - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. doctrine/reflection

Abandoned → [roave/better-reflection](/?search=roave%2Fbetter-reflection)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

doctrine/reflection
===================

The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.

1.2.4(2y ago)2.9k106.0M—9.1%183MITPHPPHP ^7.1 || ^8.0

Since Jun 14Pushed 2y ago8 watchersCompare

[ Source](https://github.com/doctrine/reflection)[ Packagist](https://packagist.org/packages/doctrine/reflection)[ Docs](https://www.doctrine-project.org/projects/reflection.html)[ RSS](/packages/doctrine-reflection/feed)WikiDiscussions 1.2.x Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (10)Used By (3)

⚠ This package is abandoned, consider migrating to alternatives, such as `roave/better-reflection`. Features that are still useful to Doctrine have been moved to `doctrine/persistence`⚠

Doctrine Reflection
===================

[](#doctrine-reflection)

[![Build Status](https://camo.githubusercontent.com/c34ecab1a8b57df84da28d9a289cc9575c009c472107ed68234a5a8b9c5b267a/68747470733a2f2f7472617669732d63692e6f72672f646f637472696e652f7265666c656374696f6e2e737667)](https://travis-ci.org/doctrine/reflection)[![Code Coverage](https://camo.githubusercontent.com/071b25135b550a211bdf265909ece21402e24a1f8301882c318253e2451fc5f9/68747470733a2f2f636f6465636f762e696f2f67682f646f637472696e652f6462616c2f6272616e63682f7265666c656374696f6e2f67726170682f62616467652e737667)](https://codecov.io/gh/doctrine/reflection/branch/1.2.x)

The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.

More resources:
---------------

[](#more-resources)

- [Website](https://www.doctrine-project.org/)
- [Documentation](https://www.doctrine-project.org/projects/doctrine-reflection/en/latest/)
- [Downloads](https://github.com/doctrine/reflection/releases)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity75

Solid adoption and visibility

Community32

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~210 days

Recently: every ~303 days

Total

10

Last Release

999d ago

PHP version history (2 changes)v1.0.0PHP ^7.1

1.2.2PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c4b569aa557436333fb02f55dfc0dacd6cb54c29820de24d9ad8a61cabb7716?d=identicon)[jwage](/maintainers/jwage)

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (49 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (27 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (26 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (25 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (13 commits)")[![chx](https://avatars.githubusercontent.com/u/193045?v=4)](https://github.com/chx "chx (12 commits)")[![sspat](https://avatars.githubusercontent.com/u/5153242?v=4)](https://github.com/sspat "sspat (11 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (10 commits)")[![alcaeus](https://avatars.githubusercontent.com/u/383198?v=4)](https://github.com/alcaeus "alcaeus (9 commits)")[![alexpott](https://avatars.githubusercontent.com/u/769634?v=4)](https://github.com/alexpott "alexpott (6 commits)")[![romanb](https://avatars.githubusercontent.com/u/177309?v=4)](https://github.com/romanb "romanb (5 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (5 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (4 commits)")[![SenseException](https://avatars.githubusercontent.com/u/859964?v=4)](https://github.com/SenseException "SenseException (4 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![ondrejmirtes](https://avatars.githubusercontent.com/u/104888?v=4)](https://github.com/ondrejmirtes "ondrejmirtes (2 commits)")[![nicwortel](https://avatars.githubusercontent.com/u/1055691?v=4)](https://github.com/nicwortel "nicwortel (2 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (2 commits)")[![hobodave](https://avatars.githubusercontent.com/u/12404?v=4)](https://github.com/hobodave "hobodave (2 commits)")

---

Tags

reflectionreflectionstatic

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/doctrine-reflection/health.svg)

```
[![Health](https://phpackages.com/badges/doctrine-reflection/health.svg)](https://phpackages.com/packages/doctrine-reflection)
```

###  Alternatives

[phpdocumentor/reflection-common

Common reflection classes used by phpdocumentor to reflect the code structure

9.1k706.8M26](/packages/phpdocumentor-reflection-common)[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[composer/satis

Simple Repository Generator

3.3k1.4M17](/packages/composer-satis)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M109](/packages/phpdocumentor-reflection)[sculpin/sculpin

Static Site Generator

1.5k102.8k12](/packages/sculpin-sculpin)[php-di/phpdoc-reader

PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)

7431.6M55](/packages/php-di-phpdoc-reader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
