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

ActiveLibrary[Caching](/categories/caching)

lfphp/cache
===========

A lite cache for PHP

2.0.0(1y ago)0671MITPHPPHP &gt;=7.1CI failing

Since Mar 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sasumi/Cache)[ Packagist](https://packagist.org/packages/lfphp/cache)[ Docs](http://blog.yikepi.com/)[ RSS](/packages/lfphp-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (9)Used By (1)

Cache library
=============

[](#cache-library)

> The current library is tested based on PHP5.6 and above.

Installation
------------

[](#installation)

1. PHP version greater than or equal to 5.6
2. Extensions must be installed: mb\_string, curl, json, dom

Please use Composer to install:

```
composer require lfphp/cache
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~243 days

Recently: every ~254 days

Total

8

Last Release

541d ago

Major Versions

1.0.8 → 2.0.02024-11-23

PHP version history (2 changes)1.0.2PHP &gt;=5.6

2.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9944b00451fac65075c817cf981e9df2a1e8113f27066ba472a78ff86ce7f816?d=identicon)[sasumi](/maintainers/sasumi)

---

Top Contributors

[![sasumi](https://avatars.githubusercontent.com/u/166525?v=4)](https://github.com/sasumi "sasumi (7 commits)")[![CnSwing](https://avatars.githubusercontent.com/u/189636526?v=4)](https://github.com/CnSwing "CnSwing (6 commits)")

---

Tags

cachelfphp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/lfphp-cache/health.svg)](https://phpackages.com/packages/lfphp-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)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33113.0k](/packages/anahkiasen-flatten)[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)

PHPackages © 2026

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