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

ActiveLibrary[Caching](/categories/caching)

nguyenanhung/my-cache
=====================

My Cache Library

v4.0.5(1y ago)418.5k↓92.9%38GPL-3.0PHPPHP ^8.0 || ^7.0

Since Oct 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nguyenanhung/my-cache)[ Packagist](https://packagist.org/packages/nguyenanhung/my-cache)[ Docs](https://github.com/nguyenanhung/my-cache)[ RSS](/packages/nguyenanhung-my-cache/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (48)Used By (8)

My Cache
========

[](#my-cache)

[![Latest Stable Version](https://camo.githubusercontent.com/00b0d341ce99f1a4c6d7e09cba93897357284764507a88f6e01d6fe8e41481f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e677579656e616e68756e672f6d792d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/my-cache)[![Total Downloads](https://camo.githubusercontent.com/a998b78c10fd411ce5db23b3331677fb2c26848512fe14427cc4c24bc4d312bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e677579656e616e68756e672f6d792d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/my-cache)[![Daily Downloads](https://camo.githubusercontent.com/e231bd8182b78f111e7c53ce9873432efbb3af42ab28070a48320fcbff608084/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f6e677579656e616e68756e672f6d792d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/my-cache)[![Monthly Downloads](https://camo.githubusercontent.com/a099426397bf97757179345d811dc980a6009876120af95f782c9f4718d474a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e677579656e616e68756e672f6d792d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/my-cache)[![License](https://camo.githubusercontent.com/8dce72e63aa4ee9e99991395b17f1dd61410a77495ce4a1c10175dcb1c04e8a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e677579656e616e68756e672f6d792d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/my-cache)[![PHP Version Require](https://camo.githubusercontent.com/53f919a5d44b2a2caed9618d0db7ee0e679e1454093a6815b5899b9ef23256cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6e677579656e616e68756e672f6d792d63616368652f706870)](https://packagist.org/packages/nguyenanhung/my-cache)

Class Cache được customize lại từ thư viện `phpfastcache/phpfastcache`, được tối ưu cho PHP 7

Version
-------

[](#version)

- V1.x, V2.x support all PHP version `>=5.6`
- V3.x support all PHP version `>=7.0`
- V4.x support all PHP version `>=8.0`

Information
-----------

[](#information)

- Cache by `phpfastcache/phpfastcache` `^9.0 || ^8.0.8 || ^7.1`
- Logging by `nguyenanhung/my-debug` `^4.0 || ^3.0`
- Support Driver: `files`, `apcu`, `redis`, `predis`, `memcache`, `memcached`, `mongodb`, `cassandra`, `couchbase`, `couchdb`, `leveldb`, `ssdb`, `Zend Disk Cache`, `Zend Memory Cache`, `Cookie`, `SqlLite`

Usage
-----

[](#usage)

See `test/test.php` for example usage very simple.

Contact
-------

[](#contact)

If any question &amp; request, please contact following information

NameEmailSkypeFacebookHung Nguyennguyenanhung5891@nguyenanhungFrom Hanoi with Love &lt;3

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 51.6% 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 ~47 days

Recently: every ~0 days

Total

47

Last Release

650d ago

Major Versions

v2.1.0 → v3.0.52022-06-07

v3.0.8 → v4.0.02024-04-02

v3.0.9 → v4.0.42024-04-30

v2.x-dev → v3.x-dev2024-09-21

v3.1.0 → v4.x-dev2024-09-21

PHP version history (7 changes)v0.1.0PHP &gt;=5.4

v3.0.1PHP ^7.0 || ^8.0

v3.0.2PHP ^7.1 || ^8.0

v3.0.4PHP &gt;=7.0

v2.1.0PHP &gt;=5.6

v4.0.0PHP ^8.0

v4.0.1PHP ^8.0 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3694ef9f3367ff9f6bcd668ca1d6726e3c55e6fd379cba9c2d4ab6a24595fbd8?d=identicon)[7135k13m](/maintainers/7135k13m)

---

Top Contributors

[![nguyenanhung](https://avatars.githubusercontent.com/u/9348255?v=4)](https://github.com/nguyenanhung "nguyenanhung (48 commits)")[![hungnguyenhp](https://avatars.githubusercontent.com/u/6778496?v=4)](https://github.com/hungnguyenhp "hungnguyenhp (45 commits)")

---

Tags

cachecustomize-cachephp-cachephpfastcachecachephpfastcachemy cache

### Embed Badge

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

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

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k772.9M2.7k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k726.4M1.7k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

445131.2M46](/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.

2515.9M12](/packages/beste-in-memory-cache)[fastd/fastd

A High Performance API Framework By Swoole Extension

42015.5k18](/packages/fastd-fastd)[anahkiasen/flatten

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

33313.0k](/packages/anahkiasen-flatten)

PHPackages © 2026

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