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↓90%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 2w 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 26% 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

1572d 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

[jonthornton/jquery-timepicker

A javascript timepicker plugin for jQuery inspired by Google Calendar.

1.9k41.5k1](/packages/jonthornton-jquery-timepicker)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[carrooi/nette-menu

Menu control for Nette framework

2950.5k1](/packages/carrooi-nette-menu)[heyday/silverstripe-hashpath

Hash path provides a function in SilverStripe templates which given a path to an asset returns a path including a hash of the asset

1475.8k](/packages/heyday-silverstripe-hashpath)

PHPackages © 2026

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