NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1773 most downloaded on Packagist
Common classes for PSR-6 adapters
Latest stable
3.0.0
Last release 3 months ago
20 Aug 2026
Ships unpredictably
gaps range from 8 days to 4.6 years
Most releases are documented
notes for 16 of 21 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
21 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
See the change log for changes.
See the change log for changes.
appendListItemWithExpiration() as a protected hook for adapters that store tag lifetimes.tag! and tagv! keys. Reserve those public key prefixes.[tag, generation] pairs instead of tag-name maps.Full Changelog : 2.0.2...2.0.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: 2.0.2...2.0.3
Full Changelog: https://github.com/php-cache/adapter-common/compare/2.0.2...2.0.3
getItem() operations instead of anonymous closures.psr/simple-cache 2 or 3.style: enforce symfony 2025 rules
style: enforce symfony 2025 rules
keep Symfony-style test signatures and prevent the fixer from restoring native void declarations.
keep Symfony-style test signatures and prevent the fixer from
restoring native void declarations.
BREAKING CHANGE: require PHP 8.2, psr/cache 3, and psr/simple-cache 3.
modernize adapters, decorators, tests, and release tooling.
BREAKING CHANGE: require PHP 8.2, psr/cache 3, and psr/simple-cache 3.
psr/cache 3, psr/simple-cache 3, and psr/log 3.setMultiple() write and commit accepted deferred items even when another item fails.See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See Change log for changes.
See Change log for changes.
PHPUnit\Framework\TestCase* No changes since 0.4.0.
See Change log for changes.
See Change log for changes.
AbstractCachePool has 4 new abstract methods: getList, removeList, appendListItem and removeListItem.AbstractCachePool::invalidateTags and AbstractCachePool::invalidateTagsPhpCachePool and PhpCacheItemTagSupportWithArray.AbstractCachePool::storeItemInCache must be a PhpCacheItem.AbstractCachePool::fetchObjectFromCache must be a an array with 4 values. Added expiration timestamp.HasExpirationDateInterface is replaced by HasExpirationTimestampInterface\DateTime internally anymore. We work with timestamps.Bugfix when you fetch data from the cache storage that was saved as "non-tagging item" but fetch as a tagging item.
Cache pools do implement LoggerAwareInterface
LoggerAwareInterfaceAll pools implement LoggerAwareInterface
The AbstractCachePool does not longer implement TaggablePoolInterface. However, the CacheItem does still implement TaggableItemInterface.
AbstractCachePool does not longer implement TaggablePoolInterface. However, the CacheItem does still implement TaggableItemInterface.CacheItem::getKeyFromTaggedKey has been removedCacheItem's second parameter is a callable that must return an array with 3 elements; [hasValue, value, tags].Nothing published for this version
Prevents a double look-up in adapters
Prevents a double look-up in adapters
Nothing published for this version
Nothing published for this version
Added more arguments to the constructor of CacheItem and make sure AbstractCachePool::$deferred is protected instead of private.
Added more arguments to the constructor of CacheItem and make sure AbstractCachePool::$deferred is protected instead of private.
Nothing published for this version
Nothing published for this version
One column per quarter.