Skip to content

Vetrinus/memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Build Status

Usage

This library provide Memcached implementation of PSR-16

use Psr\SimpleCache\CacheInterface;
use vetrinus\memcached\ClientFactory;

/** @var CacheInterface $cache */
$cache = (new ClientFactory())->createByDomainAndPort('localhost', 11211);

$cache->set('key', ['value' => 'someValue']);
$cache->get('key');
$cache->has('key');

TODO:

  1. Implement binary round-trip
  2. Handle generators to be a valid keys to multiple commands

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages