PHPackages                             ovr/phpreflection - 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. ovr/phpreflection

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

ovr/phpreflection
=================

Advanced reflection for PHP, powered by own database with all description

0.3.1(9y ago)018.1k↓50%1MITPHPPHP &gt;=5.5

Since Jun 30Pushed 9y ago2 watchersCompare

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

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

PHP Reflection
==============

[](#php-reflection)

[![Build Status](https://camo.githubusercontent.com/1e531de8aae317b4481f55126d45a45fc6bf874fa897d22b75fdc973267b9fcb/68747470733a2f2f7472617669732d63692e6f72672f6f76722f7068707265666c656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ovr/phpreflection)

Function reflection
===================

[](#function-reflection)

You can get function reflection by using `getFunction` from `$reflector`:

```
$reflector = new Reflector(Reflector::manuallyFactory());
$reflection = $reflector->getFunction('gettype');
```

Next you can use methods from `FunctionReflection`, for example:

```
var_dump($reflection->getNumberOfParameters());
var_dump($reflection->getNumberOfRequiredParameters());
```

At all, you can run `function` from `$reflection`

```
var_dump($reflection->run(array(1))); //float
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~28 days

Recently: every ~60 days

Total

13

Last Release

3635d ago

PHP version history (3 changes)0.1.1PHP &gt;=5.2

0.2.7PHP &gt;=5.3

0.3.0PHP &gt;=5.5

### Community

Maintainers

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

---

Top Contributors

[![ovr](https://avatars.githubusercontent.com/u/572096?v=4)](https://github.com/ovr "ovr (98 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ovr-phpreflection/health.svg)

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

###  Alternatives

[freshbitsweb/laratables

Ajax support of DataTables for Laravel

4871.1M3](/packages/freshbitsweb-laratables)[ahand/mobileesp

Since 2008, MobileESP provides web site developers an easy-to-use and lightweight API for detecting whether visitors are using a mobile device, and if so, what kind. The APIs provide simple boolean results ('true' or 'false') for identifying individual device categories (such as iPhone, BlackBerry, Android, and Windows Mobile), device capabilities (e.g., J2ME), and broad classes of devices, such as 'iPhone Tier' (iPhone/Android/Tizen) or 'Tablet Tier.' APIs are available in PHP, JavaScript, Java, C#, Ruby Python, and more.

174491.4k7](/packages/ahand-mobileesp)

PHPackages © 2026

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