An open API service indexing awesome lists of open source software.

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

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.

![Screenshot of php-cache-dashboard](http://jorgen.evens.eu/github/php-cache-dashboard.png)

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