cache / memcache-adapter
A PSR-6 cache implementation using memcache. This implementation supports tags
Installs: 335 547
Dependents: 6
Suggesters: 11
Security: 0
Stars: 6
Watchers: 3
Forks: 4
pkg:composer/cache/memcache-adapter
Requires
- php: >=7.4
- cache/adapter-common: ^1.0
- psr/cache: ^1.0 || ^2.0
- psr/simple-cache: ^1.0
Requires (Dev)
- cache/integration-tests: ^0.17
- phpunit/phpunit: ^7.5.20 || ^9.5.10
Suggests
- ext-memcache: The extension required to use this pool.
Provides
README
This is a PSR-6 cache implementation using Memcache. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com.
Install
composer require cache/memcache-adapter
Use
To create an instance of MemcacheCachePool
you need to configure a \Memcache
client.
$client = new Memcache(); $client->connect('localhost', 11211); $pool = new MemcacheCachePool($client);
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.