PHPackages                             xhyperf/invoker - 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. xhyperf/invoker

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

xhyperf/invoker
===============

v1.1.0(4mo ago)1331MITPHPPHP &gt;=8.3

Since Jul 28Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/xhyperf/invoker)[ Packagist](https://packagist.org/packages/xhyperf/invoker)[ Docs](https://yangqi.co)[ RSS](/packages/xhyperf-invoker/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (4)Versions (6)Used By (1)

xhyperf/invoker
===============

[](#xhyperfinvoker)

一个基于 Hyperf 框架的策略模式实现和参数自动适配的反射调用组件。

功能特点
----

[](#功能特点)

- 策略模式的优雅实现：通过注解和枚举定义策略，支持作用域区分
- 参数自动适配：智能匹配参数名称和类型，无需手动处理参数映射
- 参数映射注解：支持自定义参数来源映射

安装
--

[](#安装)

```
composer require xhyperf/invoker
```

快速开始
----

[](#快速开始)

高级用法
----

[](#高级用法)

配置
--

[](#配置)

组件不需要额外配置，安装后即可使用。

贡献
--

[](#贡献)

欢迎提交 Issue 和 Pull Request！

许可证
---

[](#许可证)

MIT License

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance81

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community11

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

Total

5

Last Release

146d ago

### Community

Maintainers

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

---

Top Contributors

[![iiQi](https://avatars.githubusercontent.com/u/3948037?v=4)](https://github.com/iiQi "iiQi (19 commits)")

---

Tags

phpinvokerswoolehyperf

### Embed Badge

![Health badge](/badges/xhyperf-invoker/health.svg)

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

###  Alternatives

[hyperf/di

A DI for Hyperf.

173.0M691](/packages/hyperf-di)[hyperf/crontab

A crontab component for Hyperf.

131.7M77](/packages/hyperf-crontab)[hyperf/socketio-server

Socket.io implementation for hyperf

26140.9k7](/packages/hyperf-socketio-server)[limingxinleo/hyperf-utils

Utils for Hyperf.

29137.1k3](/packages/limingxinleo-hyperf-utils)[hyperf/graphql

A GraphQL component for hyperf.

151.5k](/packages/hyperf-graphql)

PHPackages © 2026

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