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

Hierarchical Cache Laravel Package

cache/hierarchical-cache

PSR-6 cache pool with hierarchical keys and selective flushing. Organize cache entries like |users|:uid|followers| and invalidate whole branches (e.g., all followers) without clearing everything. Part of the PHP Cache organization.

View on GitHub
Deep Wiki
Context7

Hierarchical PSR-6 cache pools

Latest Stable Version Coverage Software License

This package defines hierarchical PSR-6 pools. A hierarchical pool can invalidate a branch without enumerating every child key.

For example, deleting |users|42|followers also invalidates keys below that path.

Installation

composer require cache/hierarchical-cache:^2.1

Usage

Read the hierarchical cache guide for key syntax and invalidation behavior.

Implementing a pool

Adapter authors can use HierarchicalCachePoolTrait. Read the implementation guide before storing or deleting hierarchical keys.

Version 2.1 supports cache/adapter-common 2 and 3. Use it with the Common version required by the concrete adapter.

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