PHPackages                             nabeghe/reflecty - 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. nabeghe/reflecty

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

nabeghe/reflecty
================

Simple reflection helper for PHP.

v0.5.2(8mo ago)4111MITPHPPHP &gt;=7.4

Since Oct 22Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/nabeghe/reflecty-php)[ Packagist](https://packagist.org/packages/nabeghe/reflecty)[ Docs](https://github.com/nabeghe/reflecty-php)[ RSS](/packages/nabeghe-reflecty/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (1)

Reflecty for PHP ≥ 7.4
======================

[](#reflecty-for-php--74)

> Simple reflection helper for PHP.

🫡 Usage
-------

[](#-usage)

### 🚀 Installation

[](#-installation)

You can install the package via composer:

```
composer require nabeghe/reflecty
```

### Example - Class Ancestors

[](#example---class-ancestors)

```
use Nabeghe\Reflecty\Reflecty;

class Animal
{
}

class Lion extends Animal
{
}

class Cat extends Lion
{
}

print_r(Reflecty::classAncestors(Cat::class));

/*
    Array
    (
        [0] => Lion
        [1] => Animal
    )
 */
```

📖 License
---------

[](#-license)

Licensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance61

Regular maintenance activity

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

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

Every ~46 days

Recently: every ~29 days

Total

8

Last Release

246d ago

### Community

Maintainers

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

---

Top Contributors

[![nabeghe](https://avatars.githubusercontent.com/u/12207627?v=4)](https://github.com/nabeghe "nabeghe (9 commits)")

---

Tags

phpphp-helperphp-helpersphp-libraryphp-reflectionreflectionconstructorreflectionclasstraitpropertymethodtrait constructorreflectyreflection class

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nabeghe-reflecty/health.svg)

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

###  Alternatives

[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)[doctrine/instantiator

A small, lightweight utility to instantiate objects in PHP without invoking their constructors

11.0k853.3M335](/packages/doctrine-instantiator)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89352.7M321](/packages/nette-robot-loader)[rybakit/arguments-resolver

ArgumentsResolver allows you to determine the arguments to pass to a function or method.

26107.7k7](/packages/rybakit-arguments-resolver)

PHPackages © 2026

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