Weave Code
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

Doctrine Adapter Laravel Package

cache/doctrine-adapter

PSR-6 cache pool adapter backed by Doctrine Cache. Wraps Doctrine cache drivers (e.g., MemcachedCache) in a standards-compliant PSR-6 CacheItemPool for easy integration with php-cache features like tagging and hierarchy support.

View on GitHub
Deep Wiki
Context7

Doctrine PSR-6 cache pool

Latest Stable Version Coverage Software License

This package adapts a legacy Doctrine\Common\Cache\Cache implementation to PSR-6 and PSR-16.

Use the PSR-6 Doctrine bridge when a legacy library needs Doctrine Cache and your application already has a PSR-6 pool.

Installation

composer require cache/doctrine-adapter:^3.0

Usage

Pass an existing Doctrine Cache implementation to the pool:

use Cache\Adapter\Doctrine\DoctrineCachePool;
use Doctrine\Common\Cache\Cache;

function createPool(Cache $doctrineCache): DoctrineCachePool
{
    return new DoctrineCachePool($doctrineCache);
}

Doctrine Cache 2.x provides the legacy interfaces but no storage drivers. Your application must provide the concrete implementation.

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 the Doctrine cache, 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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle