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 Plugin Laravel Package

php-http/cache-plugin

PSR-6 cache plugin for HTTPlug clients. Automatically caches HTTP responses (and can serve stale on error) with configurable cache strategies, TTL, and cache key generation. Drop it into your plugin chain to cut latency and reduce repeated requests.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables efficient caching of HTTP responses for third-party API integrations (e.g., payment gateways, geolocation services), reducing latency and external service costs.
  • Supports roadmap priorities for performance optimization and scalability without custom development effort.
  • Validates a "buy" decision over building in-house caching logic, freeing engineering resources for core product features.
  • Critical for use cases involving high-frequency external API calls where redundant requests would violate rate limits or increase operational expenses.

When to Consider This Package

  • Adopt when your project uses HTTPlug as the HTTP client and requires standardized, PSR-6-compliant caching for HTTP responses.
  • Ideal if your team already leverages PSR-6 cache adapters (e.g., Redis, Memcached via Symfony Cache or Doctrine Cache) and wants minimal integration overhead.
  • Avoid if using non-HTTPlug HTTP clients (e.g., Guzzle); opt for client-specific cache plugins instead.
  • Skip if your application has no external HTTP calls needing caching or requires non-PSR-6-specific caching logic (e.g., custom cache invalidation rules).

How to Pitch It (Stakeholders)

Executives: "This package slashes API costs and boosts user experience by caching external service responses—reducing redundant calls by up to 70% and cutting latency in high-traffic scenarios. With MIT licensing and zero maintenance overhead, it delivers immediate ROI without engineering bandwidth drain."
Engineering: "Seamlessly integrates with HTTPlug and any PSR-6 cache backend—just configure your existing Redis/Memcached setup and attach the plugin. Eliminates 200+ lines of custom caching boilerplate, ensures standards compliance, and works out-of-the-box with our current infrastructure."

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
milesj/emojibase
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