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 3w 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 35% 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

2390d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7123424?v=4)[Tinson Ho](/maintainers/hetiansu5)[@hetiansu5](https://github.com/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

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

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

Simple Cache library

332.7M10](/packages/voku-simple-cache)

PHPackages © 2026

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