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

amphp/cache

Non-blocking cache library for Amp-based PHP apps. Provides async cache interfaces and adapters (e.g., in-memory, filesystem, Redis) with TTL support, atomic operations, and PSR-style ergonomics for high-concurrency services.

View on GitHub
Deep Wiki
Context7
v2.0.1

What's Changed

  • Make implicit nullable types explicit to avoid deprecation notice in PHP 8.4.

Full Changelog: https://github.com/amphp/cache/compare/v2.0.0...v2.0.1

v1.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/amphp/cache/compare/v1.5.0...v1.5.1

v2.0.0

Stable release compatible with AMPHP v3 and fibers! 🎉

As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

  • Renamed ArrayCache to LocalCache, swapping the constructor argument order
  • Modified LocalCache to implement IteratorAggregate and Countable, acting as an LRU cache now (#20)
  • Support arbitrary values in LocalCache, NullCache, and PrefixCache
  • Changed Cache to support arbitrary values
  • Introduced separate StringCache interface for caching only strings
  • Added StringCacheAdapter to use any Cache in place of a StringCache
  • Removed FileCache (will be available in amphp/file instead)
v2.0.0-beta.4
  • Modified LocalCache to implement IteratorAggregate and Countable (#20)
v2.0.0-beta.3
  • Add compatibility with Revolt v1.x
  • Require PHP 8.1
v2.0.0-beta.2
v2.0.0-beta.1

Note: This is a pre-release, there might be breaking changes in the final stable version.

  • Renamed ArrayCache to LocalCache, swapping the constructor argument order
  • Support arbitrary values in LocalCache, NullCache, and PrefixCache
  • Changed Cache to support arbitrary values
  • Introduced separate StringCache interface for caching only strings
  • Added StringCacheAdapter to use any Cache in place of a StringCache
  • Removed FileCache (will be available in amphp/file instead)
v1.5.0
  • Add support for amphp/file v2
v1.4.0
  • Added SerializedCache (#11)
  • Added AtomicCache (#8)
  • Fixed FileCache::set() return value (#10)
v1.3.0
  • Added FileCache (#7)
  • Removed PHP 7.0 support
v1.2.1
  • No library logic changes in comparison to v1.2.0
  • Improved dist archive size slightly by improving .gitattributes
  • Changed code style to PSR-2
  • Upgraded PHPUnit
v1.2.0
  • Added $maxSize option for ArrayCache.
v1.1.0
  • Added NullCache.
v1.0.0

Initial release on Amp v2.

v0.1.0

Initial release.

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.
hamzi/corewatch
minionfactory/raw-hydrator
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