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

Cache Laravel Package

react/cache

ReactPHP async cache component with Promise-based CacheInterface and an in-memory ArrayCache. Inspired by PSR-16 but designed for non-blocking apps. Supports get/set/delete, bulk operations, clear, has, and common fallback patterns.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building high-performance, non-blocking applications where cache operations must not stall the event loop (e.g., real-time APIs, WebSocket servers, or microservices handling concurrent connections)
  • Provides a standardized PSR-16-inspired interface to decouple cache logic from implementation, allowing seamless swaps between in-memory (ArrayCache) or distributed cache adapters (e.g., Redis) without rewriting core business logic
  • Reduces technical debt by avoiding custom cache implementations—critical for async ReactPHP ecosystems where synchronous cache calls would cripple scalability
  • Supports critical patterns like "fallback get" and "fallback-get-and-set" for seamless cache-miss recovery while maintaining non-blocking behavior during data source fetches

When to Consider This Package

  • ✅ When building ReactPHP-based applications requiring async cache operations (e.g., event-driven servers, real-time systems, or I/O-heavy services)
  • ✅ When needing a lightweight, interface-first cache abstraction that aligns with ReactPHP’s async philosophy
  • ✅ For projects where cache operations must never block the event loop (e.g., high-concurrency HTTP servers or WebSocket applications)
  • ❌ When using traditional synchronous PHP frameworks (Laravel, Symfony, etc.) without ReactPHP integration—synchronous cache solutions like Symfony Cache or Laravel Cache would be more appropriate
  • ❌ If distributed caching (Redis, Memcached) is required out-of-the-box; this package only defines the interface and requires separate adapter packages (e.g., `reactphp/
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
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
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation