PackageTrack
Sign in Get early access

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 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 3.2.0 10 Mar 2026
    Release notes

    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

    Enhancement

    Open source →
  2. 3.1.0 27 Nov 2024
    Release notes

    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

    renovate

    Open source →
  3. 3.0.0 10 Jul 2024
    Release notes

    Release Notes for 3.0.0

    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.

    Added

    • Dedicated Metadata object for Memory#getMetadata
    • Adds support for psr/cache and psr/simple-cache v2 & v3
    • Memory now allows passing a ClockInterface via its constructor
    • MemoryOptions now has max_items configuration 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-write rather than on-read
    • Memory adapter now supports max_items option 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 the max_items option instead
    • MemoryOptions#getMemoryLimit, there is no relacement

    3.0.0

    • Total issues resolved: 2
    • Total pull requests resolved: 4
    • Total contributors: 2

    renovate

    RFC

    Enhancement

    BC Break,Bug,Enhancement

    BC Break,Bug

    Open source →
  4. 2.4.0 23 Jan 2025
    Release notes

    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

    Open source →
  5. 2.3.0 18 Oct 2023
    Release notes

    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

    Open source →
  6. 2.2.0 22 Oct 2022
    Release notes

    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

    Open source →
  7. 2.1.0 20 Sep 2022
    Release notes

    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

    dependency update

    renovate

    Open source →
  8. 2.0.0 08 Nov 2021
    Release notes

    Release Notes for 2.0.0

    Backwards incompatible release (major)

    Added

    • Adds support for PHP 8.1
    • Adds support for laminas-cache v3.0.0

    Breaking Changes

    • Adapter was marked as final

    Changed

    • TTL precision have been raised from 50 milliseconds to 1 second

    2.0.0

    • Total issues resolved: 1
    • Total pull requests resolved: 4
    • Total contributors: 1

    BC Break,Enhancement

    Enhancement

    Open source →
  9. 1.1.0 28 Apr 2021
    Release notes

    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

    Open source →
  10. 1.0.1 12 Oct 2020
    Release notes

    1.0.1 - 2020-10-12

    Removed

    • Remove laminas/laminas-cache dependency 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

    Open source →
  11. 1.0.0 05 Oct 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive