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.0.3(7mo ago)1241MITPHPPHP &gt;=8.3

Since Jul 28Pushed 3mo 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 1mo ago

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

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

[](#xhyperfinvoker)

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

功能特点
----

[](#功能特点)

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

安装
--

[](#安装)

```
composer require xhyperf/invoker
```

快速开始
----

[](#快速开始)

高级用法
----

[](#高级用法)

配置
--

[](#配置)

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

贡献
--

[](#贡献)

欢迎提交 Issue 和 Pull Request！

许可证
---

[](#许可证)

MIT License

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance72

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Total

4

Last Release

237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96c0aa2ed50163e2f0d9ea1eba22bbde1d63a11fc2e4fea1e14f9a2e1e6bf726?d=identicon)[xhyperf](/maintainers/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.

182.8M594](/packages/hyperf-di)[hyperf/crontab

A crontab component for Hyperf.

131.6M62](/packages/hyperf-crontab)

PHPackages © 2026

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