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 4w 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

40

—

FairBetter than 86% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity91

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

631d 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://avatars.githubusercontent.com/u/24961236?v=4)[魂之挽歌工作室](/maintainers/hunzhiwange)[@hunzhiwange](https://github.com/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

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)

PHPackages © 2026

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