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
2.1.0
  • Added EtagCachePlugin to cache only ETag-backed responses and always revalidate them before serving cached bodies.
2.0.2
  • Support Symfony 8.
  • Test with PHP 8.5.
2.0.1
  • Test with PHP 8.3 and 8.4.
2.0.0

Changed

  • Drop support of deprecated PHP-HTTP StreamFactory, only PSR-17 StreamFactoryInterface is now supported.
1.8.1
  • Allow installation with Symfony 7.
1.8.0
  • Avoid PHP warning about serializing resources when serializing the response by detaching the stream.
1.7.6
  • Test with PHP 8.1 and 8.2
  • Made phpspec tests compatible with PSR-7 2.0 strict typing
  • Detect null and use 0 explicitly to calculate expiration
1.7.5
  • Allow installation with psr/cache 3.0 (1.0 and 2.0 are still allowed too)
1.7.4

Added

  • Allow installation with Symfony 6
1.7.3

Changed

  • Be more defensive about cache hits. A cache entry can technically contain null.
1.7.2

Added

  • Allow installation with psr/cache 2.0 (1.0 still allowed too)
1.7.1

Added

  • Support for PHP 8
1.7.0

Added

  • Support for Symfony 5.
  • Support for PSR-17 StreamFactoryInterface.
  • Added blacklisted_paths option, which takes an array of strings (regular expressions) and allows to define paths, that shall not be cached in any case.
1.6.0
  • Support for HTTPlug 2 / PSR-18
  • Added cache_listeners option, which takes an array of CacheListeners, who get notified and can optionally act on a Response based on a cache hit or miss event. An implementation, AddHeaderCacheListener, is provided which will add an X-Cache header to the response with this information.
v1.5.0

See Change log for changes.

v1.4.0

See Change log for changes.

v1.3.0

See Change log for changes.

v1.2.0
v1.0.0

Plugin separated from the main plugins repo

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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai