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

ActiveLibrary[Caching](/categories/caching)

codemonster-ru/cache
====================

PSR-16 cache stores for Annabel applications.

v1.0.0(today)043↑2341.9%MITPHPPHP &gt;=8.2

Since Jun 10Pushed todayCompare

[ Source](https://github.com/codemonster-ru/cache)[ Packagist](https://packagist.org/packages/codemonster-ru/cache)[ Docs](https://github.com/codemonster-ru/cache)[ RSS](/packages/codemonster-ru-cache/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Codemonster Cache
=================

[](#codemonster-cache)

PSR-16 cache stores for Annabel applications.

Usage
-----

[](#usage)

```
use Codemonster\Cache\CacheManager;

$cache = new CacheManager([
    'default' => 'file',
    'stores' => [
        'file' => [
            'driver' => 'file',
            'path' => __DIR__ . '/storage/cache',
        ],
        'redis' => [
            'driver' => 'redis',
            'host' => '127.0.0.1',
            'port' => 6379,
            'database' => 0,
            'prefix' => 'cache:',
        ],
        'array' => [
            'driver' => 'array',
        ],
    ],
]);

$cache->store()->set('name', 'annabel', 60);

echo $cache->store()->get('name');
```

The package ships with `array`, `file`, and `redis` stores and implements `Psr\SimpleCache\CacheInterface`. The Redis store uses the PHP Redis extension when no explicit client object is configured.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33142935?v=4)[Kirill Kolesnikov](/maintainers/KolesnikovKirill)[@KolesnikovKirill](https://github.com/KolesnikovKirill)

---

Top Contributors

[![KolesnikovKirill](https://avatars.githubusercontent.com/u/33142935?v=4)](https://github.com/KolesnikovKirill "KolesnikovKirill (1 commits)")

---

Tags

phpcachepsr-16codemonsterannabel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1067.2M145](/packages/laminas-laminas-cache)[sabre/cache

Simple cache abstraction layer implementing PSR-16

551.3M4](/packages/sabre-cache)[voku/simple-cache

Simple Cache library

322.6M9](/packages/voku-simple-cache)

PHPackages © 2026

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