NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2634 most downloaded on Packagist
Laminas cache adapter for memory
Last release 7 months ago
10 Mar 2026
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
11 releases · first in 2020
Total pull requests resolved: 2
Feature release (minor)
This release adds support for PHP 8.4.
Feature release (minor)
One column per quarter.
Backwards incompatible release (major)
Backwards incompatible release (major)
laminas-cache-storage-adapter-memory 3.0.0 is here and finally adds native types everywhere, adds support for psr/cache and psr/simple-cache v2 & v3, supports laminas/laminas-cache v4 and introduces an all new metadata and internal persistence logic.
The Memory adapter had its flaws by juggling with the memory_limit. There were a bunch of issues with that behavior, especially since it is impossible to calculate the exact free memory available. For more details, one can check #57. With this version, we are introducing max_items which limits the amount of items persisted to the Memory adapter (defaults to unlimited). Once the max_items are exceeding, the adapter automatically removes the oldest entries to make room for new items.
Metadata object for Memory#getMetadatapsr/cache and psr/simple-cache v2 & v3Memory now allows passing a ClockInterface via its constructorMemoryOptions now has max_items configuration to limit the amount of items to be cached. When the limit exceeds, the adapter automatically drops older itemson-write rather than on-readmax_items option which can be used to limit the amount of items persisted to the cacheMemoryOptions#setMemoryLimit , there is no replacement. It is recommended to use the max_items option insteadMemoryOptions#getMemoryLimit, there is no relacementTotal pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 1
Feature release (minor)
Total pull requests resolved: 6
Feature release (minor)
Backwards incompatible release (major)
Backwards incompatible release (major)
laminas-cache v3.0.0final50 milliseconds to 1 secondlaminas-cache v3.0 thanks to @boesinglaminas-cache thanks to @boesingremoved support for PHP prior 7.3
Feature release (minor)
Remove laminas/laminas-cache dependency to avoid circular dependencies.
laminas/laminas-cache dependency to avoid circular dependencies.1.0.x bugfix release (patch)
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →