PackageTrack
Sign in Get early access

cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

3.0.0 4.2M downloads/mo #3646 most downloaded on Packagist php-cache/redis-adapter

What this package is like to depend on

Last release 4 days ago

20 Aug 2026

Ships unpredictably

gaps range from 2 weeks to 4.6 years

Most releases are documented

notes for 11 of 15 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

15 releases · first in 2016

5 releases in the last 12 months

see the full history below

Release timeline

15 releases · Jan 2016 to Aug 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 3.0.0 20 Aug 2026
    Release notes

    See the change log for changes.

    Open source →
    Release notes

    Changed

    • Store tag indexes as sorted sets under the reserved php-cache:tag: prefix.
    • Expire each tag index with its longest-lived item. A non-expiring item keeps the index persistent.
    • Store tag generation markers in the sorted set and generation snapshots in item payloads.
    • Require cache/adapter-common 3.
    • Change the tag storage format. Clear Redis before upgrading, rolling back, or running mixed versions.

    Fixed

    • Prune expired item references when reading or changing a tag index.
    • Preserve the tag generation while replacing the last indexed item.
    • Report a failed native tag-generation deletion.
    Open source →
  2. 2.0.3 19 Aug 2026
    Release notes

    Full Changelog: 2.0.2...2.0.3

    Open source →
    Release notes

    Fixed

    • Treat serialized payloads that reference unavailable PHP classes as cache misses.
    • Allow installing with psr/simple-cache 2 or 3.
    Open source →
  3. 2.0.2 18 Aug 2026
    Release notes

    style: enforce symfony 2025 rules

    Open source →
  4. 2.0.1 18 Aug 2026
    Release notes

    keep Symfony-style test signatures and prevent the fixer from
    restoring native void declarations.

    Open source →
  5. 2.0.0 18 Aug 2026
    Release notes

    modernize adapters, decorators, tests, and release tooling.

    BREAKING CHANGE: require PHP 8.2, psr/cache 3, and psr/simple-cache 3.

    Open source →
    Release notes

    Changed

    • Require PHP 8.2 or later.
    • Require psr/cache 3 and psr/simple-cache 3.
    • Add native parameter and return types required by the PSR interfaces.
    • Store tag indexes as Redis sets instead of lists. Clear the cache before upgrading or rolling back.
    Open source →
  6. 1.2.0 15 Jan 2022
    Release notes

    See change log for changes.

    Open source →
    Release notes
    • Support for PHP 8.1
    • Drop support for PHP < 7.4
    • Allow psr/cache: ^1.0 || ^2.0
    Open source →
  7. 1.1.0 14 Dec 2020
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Added

    • Support for PHP 8
    • Allow \RedisArray and \RedisCluster objects for RedisCachePool
    Open source →
  8. 1.0.0 16 Jul 2017
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Fixed

    • Fixed $path variable not initialized in clearOneObjectFromCache.
    Open source →
  9. 0.5.0 13 Mar 2017
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Added

    • Support for the new TaggableCacheItemPoolInterface.
    • Support for PSR-16 SimpleCache

    Changed

    • The behavior of CacheItem::getTags() has changed. It will not return the tags stored in the cache storage.

    Removed

    • CacheItem::getExpirationDate(). Use CacheItem::getExpirationTimestamp()
    • CacheItem::getTags(). Use CacheItem::getPreviousTags()
    • CacheItem::addTag(). Use CacheItem::setTags()
    Open source →
  10. 0.4.2 07 Aug 2016
    Release notes

    See change log for changes.

    Open source →
    Release notes

    Changed

    • The RedisCachePool::$cache is now protected instead of private
    • Using cache/hierarchical-cache:^0.3
    Open source →
  11. 0.4.1 01 Mar 2016
    Release notes
    • No changelog before this version
    Open source →
  12. 0.4.0 25 Feb 2016

    Nothing published for this version

  13. 0.3.0 19 Jan 2016

    Nothing published for this version

  14. 0.2.0 14 Jan 2016

    Nothing published for this version

  15. 0.1.0 06 Jan 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive