fraserreed / memcached-manager
Memcached Manager is a modern implementation of the memcached.php script for PHP 5.3, 5.4, 5.5
Installs: 307
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 1
Type:project
Requires
Requires (Dev)
- phpunit/phpunit: ~4
- satooshi/php-coveralls: ~0.6
This package is not auto-updated.
Last update: 2025-03-29 19:22:54 UTC
README
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:
Cluster Detail:
Key Listing:
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.