PHPackages                             mouf/utils.cache.in-memory-cache - 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. [Caching](/categories/caching)
4. /
5. mouf/utils.cache.in-memory-cache

ActiveMouf-library[Caching](/categories/caching)

mouf/utils.cache.in-memory-cache
================================

This package contains the most basic cache mechanism. It stores cache items in an array. It means the cache is flushed as soon as the script returns. It is very basic, but also very fast. You will usually use this mechanism with another one just behind.

v1.0.2(10y ago)1359.3k↓33.3%1MITPHP &gt;=5.3.0

Since Oct 29Compare

[ Source](https://github.com/thecodingmachine/utils.cache.in-memory-cache)[ Packagist](https://packagist.org/packages/mouf/utils.cache.in-memory-cache)[ Docs](https://mouf-php/packages/mouf/utils.cache.local-cache)[ RSS](/packages/mouf-utilscachein-memory-cache/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/thecodingmachine/utils.cache.in-memory-cache).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~206 days

Total

4

Last Release

3966d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Tags

cachemoufIn Memory

### Embed Badge

![Health badge](/badges/mouf-utilscachein-memory-cache/health.svg)

```
[![Health](https://phpackages.com/badges/mouf-utilscachein-memory-cache/health.svg)](https://phpackages.com/packages/mouf-utilscachein-memory-cache)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23517.0k1](/packages/rtcamp-nginx-helper)[bnomei/kirby3-redis-cachedriver

Advanced Redis cache-driver with in-memory store, transactions and preloading

101.7k](/packages/bnomei-kirby3-redis-cachedriver)

PHPackages © 2026

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