PHPackages                             amnuts/opcache-gui - 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. [Caching](/categories/caching)
4. /
5. amnuts/opcache-gui

ActiveLibrary[Caching](/categories/caching)

amnuts/opcache-gui
==================

A clean, effective and responsive interface for Zend OPcache, with real(ish)-time monitoring, filtering and the ability to invalidate files

3.6.0(9mo ago)1.3k4.6M—7.4%199[11 issues](https://github.com/amnuts/opcache-gui/issues)[6 PRs](https://github.com/amnuts/opcache-gui/pulls)12MITPHPPHP &gt;=7.1.0CI passing

Since Nov 26Pushed 1mo ago47 watchersCompare

[ Source](https://github.com/amnuts/opcache-gui)[ Packagist](https://packagist.org/packages/amnuts/opcache-gui)[ GitHub Sponsors](https://github.com/amnuts)[ RSS](/packages/amnuts-opcache-gui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (37)Used By (12)

opcache-gui
===========

[](#opcache-gui)

A clean and responsive interface for Zend OPcache information, showing statistics, settings, cached files, and providing a real-time update for the information.

This interface uses ReactJS and Axios and is for modern browsers, and requires a minimum of PHP 7.1.

License
-------

[](#license)

MIT:

Sponsoring this work
--------------------

[](#sponsoring-this-work)

If you're able and would like to sponsor this work in some way, then that would be super awesome ❤️. You can do that through the [GitHub Sponsorship](https://github.com/sponsors/amnuts) page.

Alternatively, if you'd just like to give me a [shout-out on X (aka, Twitter)](https://twitter.com/acollington) to say you use it, then that'd be awesome, too! (Any one else miss postcardware?)

Using the opcache-gui
---------------------

[](#using-the-opcache-gui)

### Installing

[](#installing)

There are two ways to getting started using this gui:

#### Copy/clone this repo

[](#copyclone-this-repo)

The easiest way to start using the opcache-gui is to clone this repo, or copy/paste/download the `index.php` file to a location which your web server can load. Then point your browser to that location, such as `https://www.example.com/opcache/index.php`.

#### Install via composer

[](#install-via-composer)

You can include the files with [Composer](https://getcomposer.org/) by running the command `composer require amnuts/opcache-gui`.

Once in your `vendor` directory, there are number of ways in which you can use the interface. For example, if you're using a framework such as Symfony or Laravel, you could load opcache-gui into a `Controller`. Your requirements of setting it up within your framework of choice will vary, so it's not really possible to detail how to do that within this readme... but I have faith in your ability to figure it out!

The namespace used for the class is `Amnuts\Opcache`, so once the dependency is in your `autoload.php` you can use the `\Amnuts\Opcache\Service` class. For example, you could do something like:

```
