cache/memcache-adapter
PSR-6 cache pool implementation backed by the Memcache extension. Create a Memcache client, connect to your server, and use MemcacheCachePool for standards-based caching. Part of the PHP Cache (php-cache) ecosystem.
This package provides PSR-6 and PSR-16 cache implementations backed by the Memcache extension. The pool also supports tags.
Install the package and enable the Memcache extension:
composer require cache/memcache-adapter:^3.0
use Cache\Adapter\Memcache\MemcacheCachePool;
$client = new Memcache();
$client->connect('127.0.0.1', 11211);
$pool = new MemcacheCachePool($client);
Version 3 stores a generation snapshot with each tagged item and a separate marker for each tag. Version 2 workers cannot safely share this format.
Stop or drain all workers, clear Memcache, and then deploy version 3. Follow the same sequence before a rollback.
Send pull requests to the main repository. Report issues on the GitHub issue tracker.
How can I help you explore Laravel packages today?