dc / cache-memcached
Cache interface
Installs: 16
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/dc/cache-memcached
Requires
- ext-memcached: *
- dc/cache: >=0.2
This package is not auto-updated.
Last update: 2025-10-08 00:20:26 UTC
README
Installation
$ composer install dc/cache-memcached
Or add it to composer.json
:
"require": { "dc/cache-memcached": "0.*", }
$ composer install
Getting started
You'll need to provide a \DC\Cache\Implementations\Memcache\MemcacheConfiguration
object when constructing, that will give us the connection options for your memcached session:
$cache = new \DC\Cache\Implementations\Memcached\Cache( \DC\Cache\Implementations\Memcached\MemcacheConfiguration('localhost', '2209'));
Otherwise, use it according to the interface.