NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2299 most downloaded on Packagist
Laminas cache adapter for memory
Latest stable
3.2.0
Last release 8 months ago
10 Mar 2026
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
11 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Total pull requests resolved: 2
Feature release (minor)
Total pull requests resolved: 3
Feature release (minor)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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 relacementmemory_limit with max_items thanks to @boesinglaminas/laminas-cache v4 thanks to @boesingTotal 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)
This is the initial release of laminas/laminas-cache-storage-adapter-memory.
This is the initial release of laminas/laminas-cache-storage-adapter-memory.
This release does not contain any changes when compared to laminas/laminas-cache v2.9!
One column per quarter.