PHPackages                             hyperf/scan-manager-incubator - 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/scan-manager-incubator

ActiveLibrary

hyperf/scan-manager-incubator
=============================

v0.1.0(4y ago)37903MITPHPPHP &gt;=7.3

Since Jul 23Pushed 4y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1759d 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 (2 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  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)
