Skip to content
 
 

Repository files navigation

Logo of phpMemAdmin Bringing Memcached to the web

Build Status Scrutinizer clickalicious premium Packagist
GitHub issues Coverage Status GitHub release GitHub stars

Features

  • Detailed statistics, charts & graphs
  • Data management for Memcached (full CRUD support)
  • Memcached cluster health dashboard
  • Memcached host dashboard
  • Update check
  • Nice & comfortable UI
  • Clean & well documented code
  • Responsive and mobile ready

Requirements

  • PHP >= 5.3 (compatible up to version 5.6 - but not compatible with hhvm)

Philosophy

phpMemAdmin was designed as helper while developing a cache in PHP using Memcached as in memory store. I had a need for a tool which displays me modified data stored in Memcached for example. The existing tools did not provide a UI i would describe as usable so i wrote my own. Trying to align it with the PECL Memcached extension.

Installation

The recommended way to install this tool is through Composer. Require the clickalicious/phpmemadmin package into your composer.json file:

{
    "require": {
        "clickalicious/phpmemadmin": "~0.1"
    },
    "scripts": {
    	"post-install-cmd": [
        	"Clickalicious\\PhpMemAdmin\\Installer::postInstall"
    	]
    }
}

Important! The postInstall call is important - it installs all required files and shows you an example vhost configuration for your installation. So be sure to add it to the composer.json (as shown above) before you call composer install.

phpMemAdmin is also available as download from github packed as zip-file or via git clone https://github.com/clickalicious/phpMemAdmin.git .

Config

After install is completed you will find a configuration file called .config.dist in the directory 'app/'. Rename this file to .config to enable you local configuration. The configuration is a simple JSON-structure which is self explaining. Example (.config.dist):

{
  "username": "admin",
  "password": "pass",
  "cluster": {
    "name": "Cluster",
    "thresholds": {
        "notice": 50,
        "warning": 75,
        "error": 95
    },
    "hosts": [
      {
        "host": "127.0.0.1",
        "port": 11211
      }
    ]
  },
  "render": {
    "auto": true
  },
  "format": {
    "date": "Y-m-dTH:i:s"
  },
  "updatecheck": false
}

As you can see - you can add hosts of your cluster to hosts node in the tree. To enable updatecheck set it to true. Of course be sure to change username and password!

Screenshots

Cluster Dashboard
Cluster Dashboard

Host Dashboard
Host Dashboard

Data Management
Host Dashboard

Documentation

There is currently no documentation.

Versioning

For a consistent versioning i decided to make use of Semantic Versioning 2.0.0 http://semver.org. Its easy to understand, very common and known from many other software projects.

Roadmap

  • Move all assets from CDN to local filesystem as precondition for compiling everything into a single file app (requires an issue).
  • Move "settings" from dashboard to an own page
  • Add more checks to cluster health check
  • Add Slab Statistics and Overview page

Participate & share

... yeah. If you're a code monkey too - maybe we can build a force ;) If you would like to participate in either Code, Comments, Documentation, Wiki, Bug-Reports, Unit-Tests, Bug-Fixes, Feedback and/or Critic then please let me know as well!

Author

Benjamin Carl
Benjamin Carl

Sponsors

Thanks to our sponsors and supporters:

About

Bringing Memcached to the web

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages