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

ActiveLibrary[Caching](/categories/caching)

keruald/cache
=============

Abstraction layer for cache. Compatible PSR-16.

0.1.2(2mo ago)08BSD-2-ClausePHP

Since Jul 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/keruald/cache)[ Packagist](https://packagist.org/packages/keruald/cache)[ RSS](/packages/keruald-cache/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (4)Versions (4)Used By (0)

keruald/cache
=============

[](#kerualdcache)

This library offers a simple layer of abstraction for cache operations, with concrete implementations.

This cache implementation is compatible with PSR-16.

This cache implementation is NOT compatible with PSR-6.

Configuration
-------------

[](#configuration)

To get a cache instance, you need to pass configuration as an array.

The properties and values depend on the engine you want to use.

### Memcached

[](#memcached)

KeyValueDefaultengineMemcachedCache class referenceserverThe memcached hostname"localhost"portThe memcached port11211sasl\_usernameThe SASL usernamesasl\_passwordThe SASL password""### Redis

[](#redis)

KeyValueDefaultengineMemcachedCache class referenceserverThe memcached hostname"localhost"portThe memcached port6379databaseThe redis database number0### Void

[](#void)

This cache allows unit tests or to offer a default cache, when no other configuration is offered.

KeyValueengineVoidCache class reference

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance84

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~507 days

Total

3

Last Release

81d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fa275e3c93d0f423ef8b7c1a848e6e4ea325225ea268e5fcce744e8ce3dd43b?d=identicon)[dereckson](/maintainers/dereckson)

---

Top Contributors

[![dereckson](https://avatars.githubusercontent.com/u/135563?v=4)](https://github.com/dereckson "dereckson (6 commits)")

---

Tags

cachekeruald

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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