PHPackages                             wayhood/scan-manager - 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. wayhood/scan-manager

ActiveLibrary

wayhood/scan-manager
====================

3.1.x-dev(2y ago)0374↓100%MITPHPPHP &gt;=8.0

Since Sep 9Pushed 2y agoCompare

[ Source](https://github.com/wayhood/scan-manager)[ Packagist](https://packagist.org/packages/wayhood/scan-manager)[ RSS](/packages/wayhood-scan-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

ScanManager
===========

[](#scanmanager)

```
composer require hyperf/scan-manager-incubator

```

如何在 Hyperf v2.2 版本及以上使用 Swoole Compiler
---------------------------------------

[](#如何在-hyperf-v22-版本及以上使用-swoole-compiler)

`Hyperf` 项目线上运行时，务必开启 `SCAN_CACHEABLE`，这样在项目启动时，只要缓存存在时，就不会再次扫描注解。

所以，在我们要加密代码时，务必按照以下步骤进行：

1. 开启 `SCAN_CACHEABLE`
2. 执行 `composer dump-autoload -o` 优化索引的同时删除 `runtime/container` 目录
3. 执行 `php bin/hyperf.php scan:cache` 生成 `runtime/container`
4. 打包代码后进行加密，需要注意以下问题：
5. 设置加密文件黑名单，不加密vendor、test、config等文件夹
6. 选择保留注释
7. 安装好扩展后即可正常运行代码

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

890d ago

### Community

Maintainers

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

---

Top Contributors

[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (2 commits)")[![netyum](https://avatars.githubusercontent.com/u/195082?v=4)](https://github.com/netyum "netyum (1 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wayhood-scan-manager/health.svg)

```
[![Health](https://phpackages.com/badges/wayhood-scan-manager/health.svg)](https://phpackages.com/packages/wayhood-scan-manager)
```

###  Alternatives

[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

301187.4k](/packages/hyperf-hyperf-skeleton)[hyperf/swagger

A swagger library for Hyperf.

19338.7k6](/packages/hyperf-swagger)

PHPackages © 2026

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