PHPackages                             deviscoding/php-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. deviscoding/php-reflection

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

deviscoding/php-reflection
==========================

PHP Library of Reflection-style object classes, with additional functionality for PHP 7.0

1.70(5mo ago)011LGPL-2.1PHPPHP &gt;=7.0

Since Jan 20Pushed 4mo agoCompare

[ Source](https://github.com/jonesiscoding/php-reflection)[ Packagist](https://packagist.org/packages/deviscoding/php-reflection)[ RSS](/packages/deviscoding-php-reflection/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

php-reflection
==============

[](#php-reflection)

Library that adds additional Reflection-style classes, with additional functionality for PHP 7.0

ReflectionComment Classes
-------------------------

[](#reflectioncomment-classes)

Parses the contents of a comment retrieved from a function, property or class. Each source type has a specific class which can be used to parse and retrieve individual tags from the PHPdoc comment.

Tags are returned as a `ReflectionTag`. In cases where tags may repeat such as `@property`, `@method` or `@param`, a `TagBag` is returned.

Type Classes
------------

[](#type-classes)

Similar to ReflectionType, this class provides information on a type, such as a property type, parameter type, or method return type. Unlike ReflectionType, the data for a Type can be pulled from the DocComment of the related reflection object.

ReflectionTag Classes
---------------------

[](#reflectiontag-classes)

These classes are used internally to represent a tag from a `ReflectionComment`.

Other Classes
-------------

[](#other-classes)

### ReflectionClassImports

[](#reflectionclassimports)

This class parases the `use` statements above the class declaration in a class, in order to resolve types referred to by short names in PHPdoc comments.

### ReflectionConstructor

[](#reflectionconstructor)

This class provides insight into a class constructor, allowing for instantiation via an array of named arguments.

### ReflectionName

[](#reflectionname)

This class provides manipulation of class, method, and property names, allowing for easy generation of method names from property names, and vice versa.

### ReflectionAccess

[](#reflectionaccess)

This class provides basic information about wether a property is accessible within a class, whether directly or through a getter and/or setter.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance75

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

163d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d57a7df632f0f3297af28804aa4d48a6c9bbd67795056353fb3dd8c7ed7e1cb5?d=identicon)[jonesiscoding](/maintainers/jonesiscoding)

---

Top Contributors

[![jonesiscoding](https://avatars.githubusercontent.com/u/5215554?v=4)](https://github.com/jonesiscoding "jonesiscoding (73 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.3k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k51](/packages/ecotone-ecotone)[symfony/type-info

Extracts PHP types information.

20069.8M269](/packages/symfony-type-info)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k42](/packages/civicrm-civicrm-core)

PHPackages © 2026

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