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

ActiveLibrary[Caching](/categories/caching)

leevel/cache
============

The Leevel Cache Package.

v2.0.6(1y ago)1233MITPHPPHP &gt;=8.4.1

Since Sep 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/leevels/cache)[ Packagist](https://packagist.org/packages/leevel/cache)[ Docs](http://queryphp.com)[ RSS](/packages/leevel-cache/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (33)Used By (3)

Cache
=====

[](#cache)

[![Latest Stable Version](https://camo.githubusercontent.com/ef74d8de9fcbbfe348d9767dda1b711181b446298683d14ccaa1f08ee63c2fa1/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656576656c2f63616368652e737667)](https://packagist.org/packages/leevel/cache)[![Minimum PHP Version](https://camo.githubusercontent.com/ff973d997d28d971c1cb542bde9469846d215e671126a6dd979036dd84cda600/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e342e312d3838393242462e737667)](https://php.net)[![QueryPHP Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.queryphp.com/docs/)

QueryPHP Cache Component.

Install
-------

[](#install)

- composer command

```
composer require leevel/cache
```

Resources
---------

[](#resources)

- [Documentation](https://www.queryphp.com/docs/component/cache.html)
- [Contributing](https://www.queryphp.com/docs/developer/)
- [Report issues](https://github.com/hunzhiwange/framework/issues) and [send Pull Requests](https://github.com/hunzhiwange/framework/pulls)in the [main QueryPHP repository](https://github.com/hunzhiwange/framework)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 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

Every ~72 days

Recently: every ~165 days

Total

32

Last Release

539d ago

Major Versions

v1.1.53 → v2.0.62024-11-22

PHP version history (8 changes)v1.0.0-alpha.2PHP ^7.1.3

v1.0.0-beta.1PHP ^7.3.2

v1.0.0-rc.3PHP ^7.4.0

v1.0.2PHP ^7.4.0 || ^8.0

v1.1.0-alpha.1PHP ^8.0

v1.1.0-rc.3PHP &gt;=8.1

v1.1.53PHP &gt;=8.3

v2.0.6PHP &gt;=8.4.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/735e710d4c01fcfa7c2bb9d5e6760112cc192b578cac4978ce99ddb6aa726fe5?d=identicon)[hunzhiwange](/maintainers/hunzhiwange)

---

Top Contributors

[![doyouhaobaby](https://avatars.githubusercontent.com/u/2012511?v=4)](https://github.com/doyouhaobaby "doyouhaobaby (224 commits)")

### Embed Badge

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

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

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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