cache / memcache-adapter
A PSR-6 cache implementation using memcache. This implementation supports tags
2.0.2
2026-08-18 20:48 UTC
Requires
- php: ^8.2
- cache/adapter-common: ^2.0
- psr/cache: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- cache/integration-tests: ^1.0@dev
- phpunit/phpunit: ^11.5
Suggests
- ext-memcache: The extension required to use this pool.
Provides
README
This package provides PSR-6 and PSR-16 cache implementations backed by the Memcache extension. The pool also supports tags.
Installation
Install the package and enable the Memcache extension:
composer require cache/memcache-adapter:^2.0
Usage
use Cache\Adapter\Memcache\MemcacheCachePool; $client = new Memcache(); $client->connect('127.0.0.1', 11211); $pool = new MemcacheCachePool($client);
Contributing
Send pull requests to the main repository. Report issues on the GitHub issue tracker.