cache/array-adapter
A PSR-6 cache implementation using a php array. This implementation supports tags
3.0.0
8.7M downloads/mo
#2924 most downloaded on Packagist
php-cache/array-adapter
What this package is like to depend on
Last release 4 days ago
20 Aug 2026
Ships unpredictably
gaps range from 3 weeks to 4.6 years
Most releases are documented
notes for 12 of 17 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
17 releases · first in 2016
5 releases in the last 12 months
see the full history below
Release timeline
17 releases · Jan 2016 to Aug 2026Releases
latest 17-
3.0.020 Aug 2026Release notes
Open source →Changed
- Require
cache/adapter-common3 andcache/hierarchical-cache2.1. - Store a generation snapshot with each tagged item and separate generation markers in memory.
- Require
-
2.0.319 Aug 2026Release notes
Open source →Added
- Document the optional in-memory item limit.
Fixed
- Allow installing with
psr/simple-cache2 or 3.
-
2.0.218 Aug 2026 -
2.0.118 Aug 2026Release notes
Open source →keep Symfony-style test signatures and prevent the fixer from
restoring native void declarations. -
2.0.018 Aug 2026Release notes
Open source →modernize adapters, decorators, tests, and release tooling.
BREAKING CHANGE: require PHP 8.2, psr/cache 3, and psr/simple-cache 3.
Release notes
Open source →Changed
- Require PHP 8.2 or later.
- Require
psr/cache3 andpsr/simple-cache3. - Add native parameter and return types required by the PSR interfaces.
-
1.2.015 Jan 2022Release notes
Open source →- Support for PHP 8.1
- Drop support for PHP < 7.4
- Allow psr/cache: ^1.0 || ^2.0
-
1.1.014 Dec 2020Release notes
Open source →Added
- Support for PHP 8
Changed
- New Hierarchical mode by using nested arrays instead of a flat array
-
1.0.119 Nov 2017 -
1.0.016 Jul 2017 -
0.5.013 Mar 2017Release notes
Open source →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(). UseCacheItem::getExpirationTimestamp()CacheItem::getTags(). UseCacheItem::getPreviousTags()CacheItem::addTag(). UseCacheItem::setTags()
- Support for the new
-
0.4.207 Aug 2016 -
0.4.131 Jul 2016 -
0.4.025 Feb 2016Nothing published for this version
-
0.3.004 Feb 2016Nothing published for this version
-
0.2.011 Jan 2016Nothing published for this version
-
0.1.107 Jan 2016Nothing published for this version
-
0.1.006 Jan 2016Nothing published for this version