PHPackages                             tinson/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. tinson/memory-cache

ActiveLibrary[Caching](/categories/caching)

tinson/memory-cache
===================

PHP Memory Cache Library

v1.0.0(6y ago)1101MITPHPPHP &gt;=5.6CI failing

Since Dec 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hetiansu5/memory-cache)[ Packagist](https://packagist.org/packages/tinson/memory-cache)[ RSS](/packages/tinson-memory-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Introduction
------------

[](#introduction)

PHP Memory Cache Library implements CacheInterface [PSR-16](https://learnku.com/docs/psr/psr-16-simple-cache/1628)

Quick Start
-----------

[](#quick-start)

```
    # New an cache instance
    # 构建一个实例
    $cache = new \MemoryCache\Cache();

    $cache->set($key, $value, $ttle);
    $cache->get($key);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42daf3795861a699f5e94b392d00321706c16983a502315f1c9a29655cdfe347?d=identicon)[hetiansu5](/maintainers/hetiansu5)

---

Top Contributors

[![hetiansu5](https://avatars.githubusercontent.com/u/7123424?v=4)](https://github.com/hetiansu5 "hetiansu5 (1 commits)")

---

Tags

phplocal memory cache

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[voku/simple-cache

Simple Cache library

322.5M7](/packages/voku-simple-cache)

PHPackages © 2026

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