This library provides a simple Memcached connection wrapper.
The recommended way to install this library is through
Composer. Require the blablacar/memcached-client
package into your composer.json
file:
{
"require": {
"blablacar/memcached-client": "@stable"
}
}
Protip: you should browse the
blablacar/memcached-client
page to choose a stable version to use, avoid the @stable
meta constraint.
Create a Client and you're done!
$client = new \Blablacar\Memcached\Client();
$client->addServer('127.0.0.1', 11211);
$client->set('foobar', 42); // Return 1
Blablacar Memcached client is released under the MIT License. See the bundled LICENSE file for details.