PHPackages                             hanwenbo/reflect - 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. hanwenbo/reflect

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

hanwenbo/reflect
================

ezswoole

1.0.6(3y ago)17162Apache-2.0PHPPHP &gt;=7.2

Since Feb 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hanwenbo/reflect)[ Packagist](https://packagist.org/packages/hanwenbo/reflect)[ RSS](/packages/hanwenbo-reflect/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

reflect-auth-router
===================

[](#reflect-auth-router)

反射权限路由，用于FaShop公司内部约束好的控制器文件，生成权限路由信息

```
$test = new \hanwenbo\reflect\Reflect( new Test );

// 设置禁止的方法
$test->setDenyFunctionList(['del','info']);

// 获得类名字
var_dump( $test->getClassReflect()->getName() );

// 获得反射的方法列表
$list = $test->getFunctionListReflect();

foreach( $list as $row ){
	var_dump( $row->getName() );
	var_dump( $row->getTitle() );
    var_dump( $row->getParam('method') );

}
```

方法getNamegetTitlegetParamgetDocComment

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~341 days

Total

7

Last Release

1271d ago

### Community

Maintainers

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

---

Top Contributors

[![hanwenbo](https://avatars.githubusercontent.com/u/5869741?v=4)](https://github.com/hanwenbo "hanwenbo (13 commits)")

---

Tags

phpfashop

### Embed Badge

![Health badge](/badges/hanwenbo-reflect/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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