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

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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log