laminas/laminas-cache-storage-adapter-redis
Laminas cache adapter for redis
3.2.0
3.2M downloads/mo
#3666 most downloaded on Packagist
laminas/laminas-cache-storage-adapter-redis
What this package is like to depend on
Last release 8 months ago
08 Dec 2025
Release timing varies
gaps range from 4 weeks to 11 months
Some releases are documented
notes for 10 of 20 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
20 releases · first in 2020
1 release in the last 12 months
see the full history below
Release timeline
20 releases · Oct 2020 to Dec 2025Releases
latest 20-
3.2.008 Dec 2025Release notes
Open source →Release Notes for 3.2.0
Feature release (minor)
3.2.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 3
Dependencies,Enhancement
QA
- 178: Optimization: do not explicitly select database 0, since its already selected by default thanks to @Grundik
Bug,Enhancement
- 177: Fix: touch without TTL thanks to @Grundik
renovate
Dependencies,QA
- 139: Update dependency vimeo/psalm to v6 thanks to @renovate[bot]
Enhancement
-
3.1.009 Dec 2024Release notes
Open source →Release Notes for 3.1.0
Feature release (minor)
This release adds support for PHP 8.4.
3.1.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 3
renovate,stop-updating
- 127: PHP 8.4 support added thanks to @renovate[bot]
Enhancement
- 123: Update to use PHP 8.1 syntax thanks to @samsonasik
- 122: Add support for specific
usernamesetting inRedisClusterthanks to @robin-brabants
renovate
-
3.0.022 Jun 2024Release notes
Open source →Release Notes for 3.0.0
Backwards incompatible release (major)
laminas-cache-storage-adapter-redis3.0.0 is here and finally adds native types everywhere and supportslaminas/laminas-cachev4.
TheRedisResourceManageris now adapted to work the same way asRedisClusterResourceManagerwhile this also removes a bunch of methods which are not meant to be part of both resource managers.Added
Redisadapter now allowsRedisResourceManagerInterfaceto be set viaRedis#setResourceManagerRedishas nowRedis#getPersistentIdwhich returns the persistent ID in case of persistent connections
Changed
RedisClusterResourceManagerInterface#hasSerializationSupportnow requires bothStorageInterfaceandPluginCapableInterfaceRedisCluster#setResourceManageris not marked as internal anymoreRedisResourceManagernow implementsRedisResourceManagerInterfaceand is reworked to work the same way asRedisClusterResourceManagerRedisResourceManageras the resource manager is nowRedisOptionsaware
Removed
- Removed
RedisClusterResourceManagerInterface#getVersion(which also removes that method fromRedisClusterResourceManageras well) - there is no replacement - Removed
RedisClusterResourceManagerInterface#getLibOption(which also removes that method fromRedisClusterResourceManageras well) - UseRedisOptions#getLibOptioninstead - Removed support for
ext-redisless than v6.0.0 sinceRedisResourceManagernow instantiatesRediswith options which were introduced in 6.0.0 - Removed obsolete
RedisOptionssuch asresource_idandresource_manager RedisResourceManager#getVersion- useRedisOptions#getVersioninstead. There is no way to receive the actualredis-serverversion from the server itself.RedisResourceManager#hasResource- there is no replacementRedisResourceManager#setResource- there is no replacementRedisResourceManager#removeResource- there is no replacementRedisResourceManager#getMajorVersion- there is no replacementRedisResourceManager#setDatabase- useRedisOptions#setDatabaseinsteadRedisResourceManager#getDatabase- useRedisOptions#getDatabaseinsteadRedisResourceManager#setPassword- useRedisOptions#setPasswordinsteadRedisResourceManager#getPassword- useRedisOptions#getPasswordinsteadRedisResourceManager#getUser- useRedisOptions#getUserinsteadRedisResourceManager#setUser- useRedisOptions#setUserinsteadRedisResourceManager#getServer- useRedisOptions#getServerinsteadRedisResourceManager#setServer- useRedisOptions#setServerinsteadRedisResourceManager#setPersistentId- useRedisOptions#setPersistentIdinsteadRedisResourceManager#getPersistentId- useRedisOptions#getPersistentIdorRedis#getPersistentIdinsteadRedisResourceManager#setLibOptions- useRedisOptions#setLibOptionsinsteadRedisResourceManager#getLibOptions- useRedisOptions#getLibOptionsinstead
Breaking Changes
- Removed some options in
RedisOptionswhich also removes the following methodsRedisOptions#setResourceIdas it is not possible to have multiple shared resources anymoreRedisOptions#setResourceManageras the resource manager is nowRedisOptionsaware
- Removed option related methods from
RedisResourceManagerwhich are mostly replaced by theRedisOptionsequivalentRedisResourceManager#getVersion- useRedisOptions#getVersioninstead. There is no way to receive the actualredis-serverversion from the server itself.RedisResourceManager#hasResource- there is no replacementRedisResourceManager#setResource- there is no replacementRedisResourceManager#removeResource- there is no replacementRedisResourceManager#getMajorVersion- there is no replacementRedisResourceManager#setDatabase- useRedisOptions#setDatabaseinsteadRedisResourceManager#getDatabase- useRedisOptions#getDatabaseinsteadRedisResourceManager#setPassword- useRedisOptions#setPasswordinsteadRedisResourceManager#getPassword- useRedisOptions#getPasswordinsteadRedisResourceManager#getUser- useRedisOptions#getUserinsteadRedisResourceManager#setUser- useRedisOptions#setUserinsteadRedisResourceManager#getServer- useRedisOptions#getServerinsteadRedisResourceManager#setServer- useRedisOptions#setServerinsteadRedisResourceManager#setPersistentId- useRedisOptions#setPersistentIdinsteadRedisResourceManager#getPersistentId- useRedisOptions#getPersistentIdorRedis#getPersistentIdinsteadRedisResourceManager#setLibOptions- useRedisOptions#setLibOptionsinsteadRedisResourceManager#getLibOptions- useRedisOptions#getLibOptionsinstead
3.0.0
- Total issues resolved: 2
- Total pull requests resolved: 5
- Total contributors: 1
Bug
BC Break,Enhancement,Feature Removal
Enhancement
- 98: Rename
Metadata#$ttltoMetadata#$remainingTimeToLivethanks to @boesing - 96: Add new library options which were introduced with
ext-redisv6 thanks to @boesing
BC Break,Enhancement
RFC
-
2.10.023 Jan 2025Release notes
Open source →Release Notes for 2.10.0
Feature release (minor)
2.10.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
2.9.021 May 2024Release notes
Open source →Release Notes for 2.9.0
Feature release (minor)
Changed
- Providing an invalid password for non-password authenticated redis servers was silently ignored when using
exceptionplugin. With this version, invalid passwords lead to uninitialized connections and therefore may have impact on read and write functionality. Please check your configuration and remove passwords when your server does not require a password
2.9.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- Providing an invalid password for non-password authenticated redis servers was silently ignored when using
-
2.8.016 Apr 2024Release notes
Open source →Release Notes for 2.8.0
Feature release (minor)
2.8.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement,Feature Request
-
2.7.008 Jan 2024Release notes
Open source →Release Notes for 2.7.0
Feature release (minor)
2.7.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Enhancement,renovate,stop-updating
- 83: Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 thanks to @renovate[bot]
renovate
- 70: Lock file maintenance thanks to @renovate[bot]
-
2.6.013 Sep 2023Release notes
Open source →Release Notes for 2.6.0
Feature release (minor)
Added
- Added support for
ext-redisv6.0.
PLEASE NOTE: withext-redisv6, almost all constants fromRedisClusterhave been removed and are only available fromRedisclass.
Removed
- Removed support for
ext-redisv4 as it is only available for PHP 5.3 - 7.4. PHP 7.4 support was dropped with v2.5.0
2.6.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Enhancement
- 79: Add support for
ext-redisv6.0 thanks to @boesing
Bug
- Added support for
-
2.5.018 Dec 2022Release notes
Open source →Release Notes for 2.5.0
Feature release (minor)
2.5.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement,dependency update
-
2.4.017 Dec 2022Release notes
Open source →Release Notes for 2.4.0
Feature release (minor)
2.4.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 2
Bug,Enhancement
Enhancement
Enhancement,Help Wanted
renovate
- 52: Lock file maintenance thanks to @renovate[bot]
-
2.3.116 Dec 2022Nothing published for this version
-
2.3.020 Sep 2022Nothing published for this version
-
2.2.024 Jul 2022Nothing published for this version
-
2.1.018 Feb 2022Nothing published for this version
-
2.0.012 Oct 2021Nothing published for this version
-
1.2.003 Jun 2021Nothing published for this version
-
1.1.103 Jun 2021Nothing published for this version
-
1.1.002 May 2021Nothing published for this version
-
1.0.112 Oct 2020Nothing published for this version
-
1.0.005 Oct 2020Nothing published for this version