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

ActiveLibrary[Caching](/categories/caching)

zer0-framework/cache
====================

v0.2.3(4y ago)02.2kGPL-3.0-or-laterPHPPHP &gt;=7.2

Since Apr 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zer0-framework/cache)[ Packagist](https://packagist.org/packages/zer0-framework/cache)[ Docs](https://github.com/zer0-framework/cache)[ RSS](/packages/zer0-framework-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (16)Used By (0)

Cache
=====

[](#cache)

Компонент служит для кеширования.

Конфигурация
------------

[](#конфигурация)

ИмяТипОписаниеЗначение по-умолчаниюtypestringТип хранилищаRedisПример использования
--------------------

[](#пример-использования)

```
$pool = $this->app->factory('CachePool');
$user = $pool->item('user.' . $userId)->setCallback(function (Item $item) use ($userId) {
  $item
  ->expiresAfter(60 * 60 * 24)
  ->set(getUserFromDatabase($userId))
  ->save();
})->get();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~37 days

Recently: every ~54 days

Total

15

Last Release

1691d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/031503de2dadf7cd9862134512dd76b6ffc2f02789d816a2cb33b6645e9e3bc0?d=identicon)[kakserpom](/maintainers/kakserpom)

---

Top Contributors

[![kakserpom](https://avatars.githubusercontent.com/u/175350?v=4)](https://github.com/kakserpom "kakserpom (38 commits)")

---

Tags

highloadZer0

### Embed Badge

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

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