PHPackages                             izisoft/yii2-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. izisoft/yii2-opcache

ActiveYii2-extension

izisoft/yii2-opcache
====================

Yii2 OpCache module - Show statistic, config, reset all, invalidate files, search in cached files

1.04(8y ago)00MITPHPPHP &gt;=5.6.0

Since Apr 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/izisoft/yii2-opcache)[ Packagist](https://packagist.org/packages/izisoft/yii2-opcache)[ RSS](/packages/izisoft-yii2-opcache/feed)WikiDiscussions master Synced 4w ago

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

Yii2 OpCache module
===================

[](#yii2-opcache-module)

Show statistic, config, reset all, invalidate files, search in cached files

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist insolita/yii2-opcache "~1.0"

```

or add

```
"insolita/yii2-opcache": "~1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
'bootstrap'=>[
       ...
        \insolita\opcache\Bootstrap::class
        ...
],
...
'modules'=>[
    ...
    'opcache'=>[
            'class'=>'insolita\opcache\OpcacheModule',
            'as access'=>[
               'class' => \yii\filters\AccessControl::class,
                           'rules' => [
                               [
                                   'allow' => true,
                                   //Protect access
                                   'roles' => ['developer'],
                               ],
                           ],
            ]
        ],
    ...
]
```

Go to route `['/opcache/default/index']`

Also for console command usage - add in console configuration

```
'bootstrap'=>[
       ...
        \insolita\opcache\Bootstrap::class
        ...
],
...
'controllerMap'=>[
    'opcache'=>[
        'class'=>\insolita\opcache\commands\OpcacheController::class
    ]
]
```

commands opcache/status opcache/config opcache/files opcache/reset opcache/invalidate will be available

Screens
-------

[](#screens)

[![Status](https://camo.githubusercontent.com/ceb0d418edab925cd09f01a231e124367f13e78a19480551e09558e5c812e6e1/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f613730373434633536322e6a7067)](https://camo.githubusercontent.com/ceb0d418edab925cd09f01a231e124367f13e78a19480551e09558e5c812e6e1/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f613730373434633536322e6a7067)[![Files](https://camo.githubusercontent.com/b6dcdc10f3b7991879fba2888646366ff4bd8dfe82fe6ffab2dae011cf98dc99/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f303730666564633062332e6a7067)](https://camo.githubusercontent.com/b6dcdc10f3b7991879fba2888646366ff4bd8dfe82fe6ffab2dae011cf98dc99/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f303730666564633062332e6a7067)[![Config](https://camo.githubusercontent.com/fbffe98a26d855cd98326de3ba6c0c3c47125b031bee51cc61ba16bd5dcceb6c/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f633337363936373863372e6a7067)](https://camo.githubusercontent.com/fbffe98a26d855cd98326de3ba6c0c3c47125b031bee51cc61ba16bd5dcceb6c/687474703a2f2f646c342e6a6f78692e6e65742f64726976652f323031372f30342f30352f303030382f333031392f3535313838332f38332f633337363936373863372e6a7067)

#### Understanding OpCache

[](#understanding-opcache)

@see  (Ru)

@see  (En)

##### P.S.

[](#ps)

Russian settings translation based on

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~11 days

Total

5

Last Release

3277d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2edf0df855a366ea51f96bd910a60c87320c973460ccc273a7e448ae32eedb65?d=identicon)[zinzinx8](/maintainers/zinzinx8)

---

Top Contributors

[![Insolita](https://avatars.githubusercontent.com/u/1847402?v=4)](https://github.com/Insolita "Insolita (7 commits)")[![vantruong1898](https://avatars.githubusercontent.com/u/39273075?v=4)](https://github.com/vantruong1898 "vantruong1898 (1 commits)")

---

Tags

yii2extensionOpcache

### Embed Badge

![Health badge](/badges/izisoft-yii2-opcache/health.svg)

```
[![Health](https://phpackages.com/badges/izisoft-yii2-opcache/health.svg)](https://phpackages.com/packages/izisoft-yii2-opcache)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k46](/packages/skeeks-cms)[insolita/yii2-opcache

Yii2 OpCache module - Show statistic, config, reset all, invalidate files, search in cached files

1564.5k](/packages/insolita-yii2-opcache)[wbraganca/yii2-tagsinput

The yii2-tagsinput is a Yii 2 wrapper for \[bootstrap-tagsinput\](https://github.com/timschlechter/bootstrap-tagsinput). A user interface for managing tags.

32160.2k](/packages/wbraganca-yii2-tagsinput)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)

PHPackages © 2026

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