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

ActiveLibrary[Caching](/categories/caching)

b3none/php-cache
================

A super simple PHP caching layer.

1.1.0(7y ago)725PHP

Since Jul 17Pushed 6y agoCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP Cache
=========

[](#php-cache)

A super simple PHP caching layer.

Author
======

[](#author)

[B3none](https://b3none.co.uk/) - Developer / Maintainer

Installation
============

[](#installation)

`composer require b3none/php-cache`

Example
=======

[](#example)

The following is an extract from the [example.php](https://github.com/b3none/php-cache/blob/master/example.php)

```
// We can choose to specify the cache dir in the constructor.
$cacheClient = new \B3none\Cache\CacheClient('/tmp/B3none/cache');

$cacheId = "b3none";
if ($cacheClient->hasCache($cacheId) && $cacheClient->isFreshEnough($cacheId, 5)) {
    $cache = $cacheClient->getCache($cacheId);
    print_r($cache);
} else {
    $dataToCache = [
        'b3none' => [
            'github' => 'https://github.com/b3none',
            'steam' => 'https://steamcommunity.com/b3none'
        ]
    ];
    $cacheClient->setCache($cacheId, $dataToCache);
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

2903d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24966460?v=4)[B3none](/maintainers/b3none)[@B3none](https://github.com/B3none)

---

Top Contributors

[![B3none](https://avatars.githubusercontent.com/u/24966460?v=4)](https://github.com/B3none "B3none (9 commits)")

---

Tags

cachecache-storagephpphp-7php7

### Embed Badge

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

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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