PHPackages                             hyperf/composer-plugin - 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. hyperf/composer-plugin

ActiveComposer-plugin

hyperf/composer-plugin
======================

Composer Plugin for Hyperf

v1.0.2(2y ago)613.3k↓86.5%1MITPHPPHP &gt;=7.2

Since Jan 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/hyperf/composer-plugin)[ Packagist](https://packagist.org/packages/hyperf/composer-plugin)[ RSS](/packages/hyperf-composer-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (9)Versions (4)Used By (0)

Composer Plugin for Hyperf
==========================

[](#composer-plugin-for-hyperf)

安装
--

[](#安装)

```
composer require hyperf/composer-plugin

```

使用
--

[](#使用)

使用此组件可以方便的对 `files` 自动加载进行排序，比如我们在 `Laravel` 中使用 `hyperf/utils` 组件时，会因为 `Hyperf` 自动加载优于 `Laravel`，导致 `Laravel` 无法正常使用。

故我们可以降低 `hyperf/utils` 组件的加载优先级，然后重新执行 `composer dump-autoload -o` 即可解决这个问题，样例如下：

```
"extra": {
    "hyperf": {
        "plugin": {
            "sort-autoload": {
                "hyperf/utils": -1
            }
        }
    }
},
```

###  Health Score

31

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~463 days

Total

3

Last Release

979d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44228082?v=4)[Hyperf Community](/maintainers/hyperf)[@hyperf](https://github.com/hyperf)

---

Top Contributors

[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (10 commits)")[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (1 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hyperf-composer-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/hyperf-composer-plugin/health.svg)](https://phpackages.com/packages/hyperf-composer-plugin)
```

PHPackages © 2026

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