Skip to content

dmarkowicz/memcached-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Memcached Client (simulator)

As there has no php memcached extension for windows now, it's difficult to build develop envionment, so this class will be helpful.

Inspried by: http://github.com/joonas-fi/xslib-memcached

Usage:

Just as php_memcached extension, new Memcached object and etc.

$m = new Memcached();
$m->addServer('localhost', 11211);

$m->set('foo', 'bar');
$m->get('foo');

Supported method:

  • addServer
  • addServers
  • delete
  • get
  • getOption
  • getResultCode
  • getResultMessage
  • getServerList
  • increment
  • set
  • setOption
  • setOptions

Need disable memcached extension of PHP to run PHPUnit testcase.

License: MIT

About

PHP memcached client class, for simulate php_memcached.dll for windows platform.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%