https://github.com/jorgenevens/php-cache-dashboard
PHP APC, APCu, OPcache and realpath dashboard
https://github.com/jorgenevens/php-cache-dashboard
apcu dashboard opcache php php-opcache
Last synced: 11 months ago
JSON representation
PHP APC, APCu, OPcache and realpath dashboard
- Host: GitHub
- URL: https://github.com/jorgenevens/php-cache-dashboard
- Owner: JorgenEvens
- License: mit
- Created: 2014-08-07T19:51:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T01:24:53.000Z (about 7 years ago)
- Last Synced: 2025-04-19T09:58:35.259Z (11 months ago)
- Topics: apcu, dashboard, opcache, php, php-opcache
- Language: PHP
- Homepage: https://php-cache-dashboard.evens.eu/
- Size: 53.7 KB
- Stars: 30
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
- 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
- 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
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.

## 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
```php