laminas/laminas-cache-storage-adapter-memory
Laminas cache adapter for memory
3.2.0
3.9M downloads/mo
#2797 most downloaded on Packagist
laminas/laminas-cache-storage-adapter-memory
What this package is like to depend on
Last release 5 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
1 release in the last 12 months
see the full history below
Release timeline
11 releases · Oct 2020 to Mar 2026Releases
latest 11-
3.2.010 Mar 2026Release notes
Open source →Release Notes for 3.2.0
Feature release (minor)
3.2.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Dependencies,Enhancement
- 73: Allow PHP 8.5, remove PHP 8.1 thanks to @fezfez
Enhancement
- 70: Merge release 2.4.0 into 3.2.x thanks to @github-actions[bot]
-
3.1.027 Nov 2024Release notes
Open source →Release Notes for 3.1.0
Feature release (minor)
This release adds support for PHP 8.4.
3.1.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
Enhancement
- 67: Update to use PHP 8.1 syntax thanks to @samsonasik
- 66: PHP 8.4 support added thanks to @cod43156
renovate
-
3.0.010 Jul 2024Release notes
Open source →Release Notes for 3.0.0
Backwards incompatible release (major)
laminas-cache-storage-adapter-memory3.0.0 is here and finally adds native types everywhere, adds support forpsr/cacheandpsr/simple-cachev2 & v3, supportslaminas/laminas-cachev4 and introduces an all new metadata and internal persistence logic.The
Memoryadapter had its flaws by juggling with thememory_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 introducingmax_itemswhich limits the amount of items persisted to theMemoryadapter (defaults to unlimited). Once themax_itemsare exceeding, the adapter automatically removes the oldest entries to make room for new items.Added
- Dedicated
Metadataobject forMemory#getMetadata - Adds support for
psr/cacheandpsr/simple-cachev2 & v3 Memorynow allows passing aClockInterfacevia its constructorMemoryOptionsnow hasmax_itemsconfiguration to limit the amount of items to be cached. When the limit exceeds, the adapter automatically drops older items
Changed
- Memory adapter now supports per-item TTL and thus, the TTL is calculated
on-writerather thanon-read - Memory adapter now supports
max_itemsoption which can be used to limit the amount of items persisted to the cache
Removed
MemoryOptions#setMemoryLimit, there is no replacement. It is recommended to use themax_itemsoption insteadMemoryOptions#getMemoryLimit, there is no relacement
3.0.0
- Total issues resolved: 2
- Total pull requests resolved: 4
- Total contributors: 2
renovate
RFC
- 63: [RFC]: Serialize objects thanks to @boesing
Enhancement
BC Break,Bug,Enhancement
BC Break,Bug
- Dedicated
-
2.4.023 Jan 2025Release notes
Open source →Release Notes for 2.4.0
Feature release (minor)
2.4.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
2.3.018 Oct 2023Release notes
Open source →Release Notes for 2.3.0
Feature release (minor)
2.3.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 53: PHP 8.3 support added thanks to @glo71317
-
2.2.022 Oct 2022Release notes
Open source →Release Notes for 2.2.0
Feature release (minor)
2.2.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement,dependency update
- 50: Add PHP 8.2 support thanks to @fezfez
-
2.1.020 Sep 2022Release notes
Open source →Release Notes for 2.1.0
Feature release (minor)
Removed
- PHP 7.3 support
2.1.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 5
Enhancement
- 48: Apply PHP 7.4 syntax and typed property thanks to @samsonasik
- 45: Update to latest test dependencies thanks to @boesing
- 36: Prepare for Renovate with reusable workflows thanks to @ghostwriter
dependency update
- 47: build(deps-dev): bump vimeo/psalm from 4.26.0 to 4.27.0 thanks to @dependabot[bot]
- 38: Bump vimeo/psalm from 4.14.0 to 4.22.0 thanks to @dependabot[bot]
renovate
- 42: Configure Renovate thanks to @renovate[bot]
-
2.0.008 Nov 2021Release notes
Open source →Release Notes for 2.0.0
Backwards incompatible release (major)
Added
- Adds support for PHP 8.1
- Adds support for
laminas-cachev3.0.0
Breaking Changes
- Adapter was marked as
final
Changed
- TTL precision have been raised from
50milliseconds to1second
2.0.0
- Total issues resolved: 1
- Total pull requests resolved: 4
- Total contributors: 1
BC Break,Enhancement
- 23: PHP 8.1 support thanks to @boesing
- 15: Change TTL precision to 1 second thanks to @boesing
Enhancement
- 19: Introduce benchmarks thanks to @boesing
- 16: Provide compatibility for
laminas-cachev3.0 thanks to @boesing - 14: Migrate benchmark from
laminas-cachethanks to @boesing
-
1.1.028 Apr 2021Release notes
Open source →Release Notes for 1.1.0
Feature release (minor)
Added
- added PHP 8.0 support
Removed
- removed support for PHP prior 7.3
1.1.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Enhancement
- 9: Add PHP 8.0 support thanks to @Slamdunk
- 8: Adopt Laminas CI workflow thanks to @Slamdunk
-
1.0.112 Oct 2020Release notes
Open source →1.0.1 - 2020-10-12
Removed
- Remove
laminas/laminas-cachedependency to avoid circular dependencies.
Release Notes for 1.0.1
1.0.x bugfix release (patch)
1.0.1
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
- 3: qa: remove cache dependency thanks to @boesing
- Remove
-
1.0.005 Oct 2020Nothing published for this version