2017 © Pedro Peláez
 

library cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

image

soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  • Tuesday, October 31, 2017
  • by mkorkmaz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 58 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 5 % Grown

The README.md

Soupmix Memcached Cache Adaptor

Build Status Scrutinizer Code Quality Codacy Badge Code Climate Latest Stable Version Total Downloads Latest Unstable Version License composer.lock Code Coverage, (*1)

Installation

It's recommended that you use Composer to install Soupmix Cache Memcached Adaptor., (*2)

$ composer require soupmix/cache-memcached "~0.3"

Connection

require_once '/path/to/composer/vendor/autoload.php';

$config = [
    'bucket' => 'test',
    'hosts'   => ['127.0.0.1'],
;
$handler = new Memcached($config['bucket']);
$handler->setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true);
$handler->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
if (!count($handler->getServerList())) {
    $hosts = [];
    foreach ($config['hosts'] as $host) {
        $hosts[] = [$host, 11211];
    }
    $handler->addServers($hosts);
}

$cache = new Soupmix\Cache\MemcachedCache($handler);

Soupmix Memcached Cache API

See Soupmix Cache API, (*3)

The Versions

31/10 2017

dev-master

9999999-dev https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

31/10 2017

0.3.3

0.3.3.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

06/01 2017

0.3.2

0.3.2.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

04/01 2017

0.3.1

0.3.1.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

03/01 2017

0.3

0.3.0.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

30/06 2016

0.2

0.2.0.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

14/06 2016

0.1.3

0.1.3.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

14/06 2016

0.1.2

0.1.2.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

cache memcached adapters simplecache

13/06 2016

0.1.1

0.1.1.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

cache memcached adapters simplecache

13/06 2016

0.1

0.1.0.0 https://github.com/soupmix/cache-memcached

Framework agnostic Memcached adapter for SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

cache memcached adapters simplecache