PHPackages                             dhii/memoize-memory - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dhii/memoize-memory

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dhii/memoize-memory
===================

An in-memory memoizer implementation.

v0.2-alpha1(8y ago)01.7k5MITPHPPHP ^5.4 | ^7.0

Since Mar 22Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Dhii/memoize-memory)[ Packagist](https://packagist.org/packages/dhii/memoize-memory)[ RSS](/packages/dhii-memoize-memory/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (3)Dependencies (17)Versions (5)Used By (5)

Dhii - Memoize - Memory
=======================

[](#dhii---memoize---memory)

[![Build Status](https://camo.githubusercontent.com/7e894101ef5ef080ea24b2c6503de1a82ba48cf9e198849bae872e9275e9f698/68747470733a2f2f7472617669732d63692e6f72672f446869692f6d656d6f697a652d6d656d6f72792e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/Dhii/memoize-memory)[![Code Climate](https://camo.githubusercontent.com/0b73c4b418840a3cc262ea2aaad20be5eaf292c79bbd40d7bf569b13d5f925db/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f6d656d6f697a652d6d656d6f72792f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/memoize-memory)[![Test Coverage](https://camo.githubusercontent.com/aae8522c6cfcf99d1c34da284701c62b34524f232a5b39ea088a9f8833c230f1/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f6d656d6f697a652d6d656d6f72792f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/memoize-memory/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/c941753fb9f12f9d62a45fe5f769dafeb06c59b418cddc32bccca21082653196/68747470733a2f2f706f7365722e707567782e6f72672f646869692f6d656d6f697a652d6d656d6f72792f76657273696f6e)](https://packagist.org/packages/dhii/memoize-memory)[![Latest Unstable Version](https://camo.githubusercontent.com/71be72ca429f898ebf267085c6bd061a0f09a23267eb3929a016b9cb8194eac7/68747470733a2f2f706f7365722e707567782e6f72672f646869692f6d656d6f697a652d6d656d6f72792f762f756e737461626c65)](https://packagist.org/packages/dhii/memoize-memory)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Details
-------

[](#details)

An in-memory memoizer implementation, compatible with the [`dhii/simple-cache-interface`](https://packagist.org/packages/dhii/simple-cache-interface)standard.

### Classes

[](#classes)

- [`MemoryMemoizer`](src/MemoryMemoizer.php) - A simple concrete [`SimpleCacheInterface`](https://github.com/Dhii/simple-cache-interface/blob/develop/src/SimpleCacheInterface.php) implementation that persists in memory for a single runtime.
- [`AbstractBaseContainerMemory`](src/AbstractBaseContainerMemory.php) - Base functionality for [`Dhii\Cache\ContainerInterface`](https://github.com/Dhii/simple-cache-interface/blob/develop/src/ContainerInterface.php) implementations, which is enough for most memoizing needs.
- [`AbstractBaseSimpleCacheMemory`](src/AbstractBaseSimpleCacheMemory.php) - Base functionality for complete [`SimpleCacheInterface`](https://github.com/Dhii/simple-cache-interface/blob/develop/src/SimpleCacheInterface.php) implementations, which provides additional methods of controlling cache.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2964d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dhii-memoize-memory/health.svg)

```
[![Health](https://phpackages.com/badges/dhii-memoize-memory/health.svg)](https://phpackages.com/packages/dhii-memoize-memory)
```

###  Alternatives

[ultrono/laravelshoppingcart-1

Laravel 11 and above Shopping cart

1110.0k](/packages/ultrono-laravelshoppingcart-1)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
