PHPackages                             terrazza/reflectionclass - 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. terrazza/reflectionclass

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

terrazza/reflectionclass
========================

Terrazza Component ReflectionClass

1.0.0(4y ago)054↓94.7%2MITPHPPHP &gt;=7.4

Since Mar 3Pushed 4y agoCompare

[ Source](https://github.com/webfux/reflectionclass)[ Packagist](https://packagist.org/packages/terrazza/reflectionclass)[ RSS](/packages/terrazza-reflectionclass/feed)WikiDiscussions main Synced 3w ago

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

the reflectionClass component
=============================

[](#the-reflectionclass-component)

This component provides additional methods for PHP RefectionClass. There is no need to install it independently. This package will be used inside some other Terrazza Components.

```
$encoder            = (new ReflectionClassClassName());

echo $encoder->getClassName(Test::class, "mySubClass");
// Someother\Someother\mySubClass

echo $encoder->getClassName(Test::class, "mySubClassAs");
// Someother\Someother\mySubClass

echo $encoder->getClassName(Test::class, "Someother\mySubClass");
// Someother\Someother\mySubClass

namespace Someother {
    class mySubClass {}
}
namespace Test {
    use Someother\mySubClass;
    use Someother\mySubClass as mySubClassAs;
    class myClass {
        private mySubClass $subclass;
        private mySubClassAs $subclassAs;
        private Someother\mySubClass $subclassFull;
    }
}

```

Based on Test::class the encoder will return the full namespace of a search class. No matter if the class is implemented

- full qualified
- partial qualified
- qualified through an alias

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

1617d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/175504887?v=4)[webfux](/maintainers/webfux)[@webfux](https://github.com/webfux)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/terrazza-reflectionclass/health.svg)

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

###  Alternatives

[gijsg/system-resources

A Laravel Nova card.

2982.7k](/packages/gijsg-system-resources)[rupertgermann/tt_news

News - Website news with front page teasers and article handling inside.

2356.5k](/packages/rupertgermann-tt-news)[nexucis/es-index-helper

Elasticsearch Index Helper for php, which allows you to manage your indices without any downtime

1519.5k](/packages/nexucis-es-index-helper)

PHPackages © 2026

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