PHPackages                             wilbur-yu/hyperf-opcache - 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. wilbur-yu/hyperf-opcache

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

wilbur-yu/hyperf-opcache
========================

PHP Opcache command for Hyperf

3.0.0(3y ago)32.9kMITPHPPHP &gt;=8.0

Since Jan 13Pushed 3y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (12)Versions (7)Used By (0)

Hyperf OPcache
==============

[](#hyperf-opcache)

PHP Opcache command for Hyperf

description
===========

[](#description)

> Transplantation in [laravel-opcache](https://github.com/appstract/laravel-opcache)Opcache configuration reference OPcache configuration

Requirements
============

[](#requirements)

This package requires hyperf 2.1 or newer.

Installation
============

[](#installation)

You can install the package via Composer:

```
composer require wilbur-yu/hyperf-opcache
```

If you need to change config values, you can publish the config file with:

```
php bin/hyperf.php vendor:publish wilbur-yu/hyperf-opcache
```

usage
=====

[](#usage)

- config

```
php bin/hyperf.php opcache:config
```

- status

```
php bin/hyperf.php opcache:status
```

- clear

```
php bin/hyperf.php opcache:clear
```

- compile

```
php bin/hyperf.php opcache:compile {--force}
```

> Note: opcache.dups\_fix must be enabled, or use the --force flag. If you run into "Cannot redeclare class" errors, enable opcache.dups\_fix or add the class path to the exclude list.

Contributing
============

[](#contributing)

Thanks to the [laravel-opcache](https://github.com/appstract) and their contributors

License
=======

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/wilbur-yu/hyperf-opcache/blob/main/LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~200 days

Total

6

Last Release

1195d ago

Major Versions

0.0.5 → 3.0.02023-03-25

PHP version history (2 changes)0.0.1PHP &gt;=7.3

3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ba6eb722ff24398c7686e121aceabdc2265c883acb6685fa9abc9291f373e2b?d=identicon)[wilbur.yu](/maintainers/wilbur.yu)

---

Top Contributors

[![wilbur-yu](https://avatars.githubusercontent.com/u/7148309?v=4)](https://github.com/wilbur-yu "wilbur-yu (22 commits)")

---

Tags

phpswoolehyperfOpcachehyperf-opcachewilburwilbur.yu

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wilbur-yu-hyperf-opcache/health.svg)

```
[![Health](https://phpackages.com/badges/wilbur-yu-hyperf-opcache/health.svg)](https://phpackages.com/packages/wilbur-yu-hyperf-opcache)
```

###  Alternatives

[hyperf/watcher

Hot reload watcher for Hyperf

17904.9k31](/packages/hyperf-watcher)[hyperf/nano

Scale Hyperf application down to a single file

43313.8k2](/packages/hyperf-nano)

PHPackages © 2026

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