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. [Caching](/categories/caching)
4. /
5. chilimatic/cache-component

ActiveLibrary[Caching](/categories/caching)

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

cache component within the chilimatic framework

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

Since Apr 30Pushed 8y 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 6d 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 51% 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

2988d 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://avatars.githubusercontent.com/u/6705416?v=4)[j](/maintainers/chilimatic)[@chilimatic](https://github.com/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)
```

###  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)
