fraserreed/memcached-manager

Memcached Manager is a modern implementation of the memcached.php script for PHP 5.3, 5.4, 5.5

v1.0 2015-03-02 05:13 UTC

This package is not auto-updated.

Last update: 2021-01-22 21:15:28 UTC


README

Build Status Coverage Status Code Climate

Memcached Manager is a modern implementation of the Harun Yayli memcached.php script.

Features

  • support for a multi-cluster, multi-node environments
  • full cluster statistics
  • add/edit/increment/decrement/flush keys

Todo

  • search keys
  • key pagination
  • key listing optimization

Screenshots

Cluster Listing:

image

Cluster Detail:

image

Key Listing:

image

Installing via Composer

The recommended way to install Memcached Manager is through Composer.

First, install composer:

curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of Guzzle:

composer require fraserreed/memcached-manager

Configuration

After installing, you will need to configure the Memcached clusters and nodes to connect to.

Alter the file config/config.local.php to include the appropriate connection information:

    'memcached'  => array(
        'cluster1' => array(
            array(
                'cluster' => 'local',
                'name'    => 'local1',
                'host'    => 'localhost-one',
                'port'    => 11211
            ),
            array(
                'cluster' => 'local',
                'name'    => 'local2',
                'host'    => 'localhost-two',
                'port'    => 11211
            )
        ),
        'cluster2' => array(
            array(
                'cluster' => 'local',
                'name'    => 'local1',
                'host'    => 'localhost-one.other.com',
                'port'    => 11211
            ),
            array(
                'cluster' => 'local',
                'name'    => 'local2',
                'host'    => 'localhost-two.other.com',
                'port'    => 11211
            )
        )

    )

Contribution

Feel free to fork the repo and contribute in any way that you feel will make this a better solution. For any issues or feature requests, open an issue or pull request.

Documentation

Documentation in progress.