Skip to content

AlexeyPlodenko/phpmemcachedadmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPMemcachedAdmin

Fork

Forked the original implementation from https://github.com/elijaa/phpmemcachedadmin to provide additional features, like key search and listing.

Configuration

  1. Create the file /.config.php and put your configuration there:

    1. For a locally installed MemcacheD server:
    <?php
    return [
        'servers' =>[
            'Default' => [
                'localhost-server' => [
                    'hostname' => '127.0.0.1',
                    'port' => '11211',
                ],
            ],
        ],
    ];
    1. For a MemcacheD server installed as Docker service in another project:
    <?php
    return [
        'servers' =>[
            'Default' => [
                'docker-server' => [
                    'hostname' => 'host.docker.internal',
                    'port' => '11211',
                ],
            ],
        ],
    ];
  2. In your console, navigate to the root of the project...

    1. ...and execute composer install
    2. ...and execute docker compose up

If you need to modify the docker-compose.yml configuration

Do not edit the original file, but rather create /docker-compose.override.yml and put your configuration there. That is the official Docker way.

Graphic stand-alone administration for MemcacheD to monitor and debug purpose

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

Feature list

Statistics

  • 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)

Commands

  • 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

Live Stats

  • Top-like real time stats with configurable alerts

Configuration

  • Edit configuration directly from web page
  • phpMemcachedAdmin can use socket communication, PECL Memcache or Memcached API
  • Organize your servers into cluster

Security

phpMemcachedAdmin does not provide any security system, you need to add this feature by yourself.

About

Graphic stand-alone administration for memcached

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 91.9%
  • JavaScript 6.0%
  • CSS 1.9%
  • Other 0.2%