Forked the original implementation from https://github.com/elijaa/phpmemcachedadmin to provide additional features, like key search and listing.
-
Create the file
/.config.php
and put your configuration there:- For a locally installed MemcacheD server:
<?php return [ 'servers' =>[ 'Default' => [ 'localhost-server' => [ 'hostname' => '127.0.0.1', 'port' => '11211', ], ], ], ];
- For a MemcacheD server installed as Docker service in another project:
<?php return [ 'servers' =>[ 'Default' => [ 'docker-server' => [ 'hostname' => 'host.docker.internal', 'port' => '11211', ], ], ], ];
-
In your console, navigate to the root of the project...
- ...and execute
composer install
- ...and execute
docker compose up
- ...and execute
Do not edit the original file, but rather create /docker-compose.override.yml
and put your configuration there. That is the official Docker way.
This program allows to see in real-time (top-like) or from the start of the server, stats for get, set, delete, increment, decrement, evictions, reclaimed, cas command, as well as server stats (network, items, server version) with Google Charts and server internal configuration
You can go further to see each server slabs, occupation, memory wasted and items (key & value).
Another part can execute commands to any memcached server : get, set, delete, flush_all, as well as execute any commands (like stats) with telnet
- Stats for each or all memcached servers, items, evicted, reclaimed ...
- Stats for every command : set, get, delete, incr, decr, cas ...
- Slabs stats (Memory, pages, memory wasted, items)
- Items stats (View items in slabs, then data for each key)
- Network stats (Traffic, bandwidth)
- Execute commands : get, set, delete, flush_all on servers to administrate or debug it
- Get data with key on servers
- Delete keys on servers
- Flush servers
- Execute telnet command directly from phpMemcachedAdmin
- Search for specific pattern into all keys
- Top-like real time stats with configurable alerts
- Edit configuration directly from web page
- phpMemcachedAdmin can use socket communication, PECL Memcache or Memcached API
- Organize your servers into cluster
phpMemcachedAdmin does not provide any security system, you need to add this feature by yourself.