Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
/ memcached-client Public archive

A memcached client

License

Notifications You must be signed in to change notification settings

blablacar/memcached-client

Repository files navigation

Blablacar Memcached Wrapper

Build Status

This library provides a simple Memcached connection wrapper.

Installation

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.

Usage

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

License

Blablacar Memcached client is released under the MIT License. See the bundled LICENSE file for details.