cache/apcu-adapter
A PSR-6 cache implementation using apcu. This implementation supports tags
3.0.0
3.2M downloads/mo
#4858 most downloaded on Packagist
php-cache/apcu-adapter
What this package is like to depend on
Last release 4 days ago
20 Aug 2026
Release timing varies
gaps range from 2 months to 4.0 years
Most releases are documented
notes for 12 of 14 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
14 releases · first in 2016
5 releases in the last 12 months
see the full history below
Release timeline
14 releases · Jan 2016 to Aug 2026Releases
latest 14-
3.0.020 Aug 2026Release notes
Open source →Changed
- Require
cache/adapter-common3. - Store tag generations in item payloads and separate marker entries. Clear APCu before upgrading or rolling back.
Fixed
- Report a failed native deletion when the key still exists.
- Require
-
2.0.319 Aug 2026Release notes
Open source →Fixed
- Treat APCu payloads that reference unavailable classes or fail during deserialization as cache misses.
- 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.
- Store APCu payloads as native arrays instead of serialized strings. Clear APCu before upgrading or rolling back.
-
1.3.015 Aug 2022 -
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 2020 -
1.0.016 Jul 2017 -
0.3.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()- Dropped PHP 5.5 support
- Support for the new
-
0.2.207 Aug 2016 -
0.2.101 Mar 2016 -
0.2.025 Feb 2016Nothing published for this version
-
0.1.007 Jan 2016Nothing published for this version