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

ActiveLibrary[Caching](/categories/caching)

phore/cache
===========

Caching library

v1.0(6y ago)11.7k2MITPHPPHP &gt;=7.1CI failing

Since Dec 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phore/phore-cache)[ Packagist](https://packagist.org/packages/phore/cache)[ RSS](/packages/phore-cache/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (2)Used By (2)

Phore Cache
===========

[](#phore-cache)

Installation
------------

[](#installation)

```
composer require phore/cache
```

Basic usage
-----------

[](#basic-usage)

Setting a driver:

```
$pool = new CacheItemPool(new RedisCacheDriver("redis://redis"));

```

or shortcut:

```
$pool = new CacheItemPool("redis://redis");

```

Load and cache data

```
$pool = new CacheItemPool("redis://redis");
$item = $pool->getItem("cachekey")->expiresAfter(10)->retryAfter(5);
echo $item->load(function () {
    return "Data"; // Put code to load the cached value
});
```

Filesystem driver
-----------------

[](#filesystem-driver)

```
$pool = new CacheItemPool("file:///tmp");

```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

2448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

[![dermatthes](https://avatars.githubusercontent.com/u/13380559?v=4)](https://github.com/dermatthes "dermatthes (14 commits)")

---

Tags

Keyword1Keyword2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k382.4M3.7k](/packages/symfony-cache)[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k52.2M377](/packages/api-platform-core)[google/auth

Google Auth Library for PHP

1.4k302.1M240](/packages/google-auth)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.5M254](/packages/api-platform-metadata)

PHPackages © 2026

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