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

ActiveLibrary

chilimatic/cache-component
==========================

cache component within the chilimatic framework

2.1.2(7y ago)0971MITPHPPHP &gt;=7.1

Since Apr 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/chilimatic/cache-component)[ Packagist](https://packagist.org/packages/chilimatic/cache-component)[ RSS](/packages/chilimatic-cache-component/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (9)Used By (1)

cache-component
===============

[](#cache-component)

[![Build Status](https://camo.githubusercontent.com/89e2eb76f706c83d58c63a1879949b00f9af955c87762c6fabf4f7c69eaa3019/68747470733a2f2f7472617669732d63692e6f72672f6368696c696d617469632f63616368652d636f6d706f6e656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chilimatic/cache-component)

Currently there are 3 adapters:

Memcached, Apcu and Memory

It also comes with a singelton wrapper but you don't have to use it.

```
$cache = Cache::getInstance(['type' => chilimatic\lib\Cache\Engine\Adapter\Memory::class]);
```

If you want to use a Factory

```
$cache = CacheFactory::make(chilimatic\lib\Cache\Engine\Adapter\Memory::class);
```

And ofc you can access them directly

```
$cache = new chilimatic\lib\Cache\Engine\Adapter\Memory();
```

you can pass in arrays or stdClass it will transform it to an array anyway (nested too)

```
$cache = new chilimatic\lib\Cache\Engine\Adapter\Memcached([
    'server_list' => [[
        'host' => '127.0.0.1',
        'port' => 11211,
        'weight' => 1
    ]],
    'options' => [ // the options are per instance not per connection!
        Memcached::OPT_HASH => Memcached::HASH_MURMUR
    ]
]);
```

more about the possible options

```
$cache = new chilimatic\lib\Cache\Engine\Adapter\APCU();
```

one of the benefits of this library is that it actually allows you to see what theoretically stored within the caches

```
$cache = chilimatic\lib\Cache\Engine\Adapter\Memory();

var_dump($cache->listEntries());
```

it has 1 dependency the chilimatic interfaces.

if you want to know how things work I recommend looking at the tests :)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~183 days

Total

6

Last Release

2895d ago

Major Versions

1.0.0 → 2.0.12016-06-06

PHP version history (3 changes)1.0.0PHP &gt;=5.4

2.0.1PHP &gt;=7.0

2.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e54bb15e79f8e0a58c1c541ba033d180bf511554046e700f5d456f7c66518ab?d=identicon)[chilimatic](/maintainers/chilimatic)

---

Top Contributors

[![chilimatic](https://avatars.githubusercontent.com/u/6705416?v=4)](https://github.com/chilimatic "chilimatic (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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