Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Memcache Adapter Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Memcache PSR-6 cache pool

Latest Stable Version Coverage Software License

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:^3.0

Usage

use Cache\Adapter\Memcache\MemcacheCachePool;

$client = new Memcache();
$client->connect('127.0.0.1', 11211);

$pool = new MemcacheCachePool($client);

Upgrading to version 3

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.

Contributing

Send pull requests to the main repository. Report issues on the GitHub issue tracker.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo