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

Technical Evaluation

Architecture fit: The package acts as a PSR-6 decorator that adds hierarchical flushing capabilities to any existing PSR-6 cache pool (e.g., Symfony Cache, FileCache). It fits cleanly as a thin layer atop standard cache implementations without altering core architecture.
Integration feasibility: High for PSR-6-compatible systems. Requires wrapping an existing pool (e.g., new HierarchicalCachePool($yourPool)), but Laravel’s cache system requires custom driver implementation to inject this decorator.
Technical risk: High. Last updated in 2022 with 0 dependents; no active maintenance. Hardcoded | delimiter (non-configurable), clear() scans all items (not efficient for large caches), and lacks Redis-specific optimizations by default.
Key questions: How does it handle Redis backend performance? Does Laravel’s cache manager fully support PSR-6 pools without breaking existing functionality? What failure modes occur if the underlying pool doesn’t implement getItems() reliably?

Integration Approach

Stack fit: Works with PSR-6 pools (e.g., Symfony Cache, FileCache) but not PSR-16. Requires Laravel to use a PSR-6-compliant cache driver (

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4