PHPackages                             jorgenevens/php-cache-dashboard - 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. [Admin Panels](/categories/admin)
4. /
5. jorgenevens/php-cache-dashboard

ActiveProject[Admin Panels](/categories/admin)

jorgenevens/php-cache-dashboard
===============================

PHP APC, APCu, OPcache and realpath dashboard

v1.2.0(7y ago)322112MITPHPPHP ^7.1

Since Aug 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/JorgenEvens/php-cache-dashboard)[ Packagist](https://packagist.org/packages/jorgenevens/php-cache-dashboard)[ RSS](/packages/jorgenevens-php-cache-dashboard/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)DependenciesVersions (3)Used By (0)

PHP Cache Dashboard
===================

[](#php-cache-dashboard)

A dashboard for multiple caches in PHP with support for [PHP Opcache](http://php.net/manual/en/intro.opcache.php), [APCu](http://php.net/manual/en/intro.apcu.php), [realpath](http://php.net/manual/en/function.realpath-cache-get.php) and [Redis](https://pecl.php.net/package/redis)

Try it out at the [demo page](https://je-php-cache-dashboard-demo.herokuapp.com/).

Prerequisites
-------------

[](#prerequisites)

- PHP 5.3+

and one or more of the supported caches

- PHP OpCache (opcache extension for php5, included by default in php5.5+)
- APC or APCu extension
- Realpath cache ( available since PHP 5.3.2+ )
- Memcache (partially) and Memcached extension
- Redis

Supported operations
--------------------

[](#supported-operations)

- View memory statistics
- View hit rate
- Select keys based on regular expression
- Delete keys based on regular expression
- Selecting all keys
- Deleting keys without regular expressions
- Sort on any data column
- View entry contents

Usage
-----

[](#usage)

Simply drop the `cache.php` file somewhere on your webserver, preferably somewhere **private**, and that is it! Navigate to the page using your browser and you will receive cache information.

[![Screenshot of php-cache-dashboard](https://camo.githubusercontent.com/a5646be21c9f641d784f8d4b01a45d28013752ffec68a53a14e49d10c579e29e/687474703a2f2f6a6f7267656e2e6576656e732e65752f6769746875622f7068702d63616368652d64617368626f6172642e706e67)](https://camo.githubusercontent.com/a5646be21c9f641d784f8d4b01a45d28013752ffec68a53a14e49d10c579e29e/687474703a2f2f6a6f7267656e2e6576656e732e65752f6769746875622f7068702d63616368652d64617368626f6172642e706e67)

Configuring caches
------------------

[](#configuring-caches)

Information about specific caches can be disabled by setting the `ENABLE_` key to false. The default code tests whether the specific cache is available and supported before enabling it.

### APC / APCu

[](#apc--apcu)

```
