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

ActiveLibrary[Caching](/categories/caching)

osflab/cache
============

OSF cache proxy optimized for performance

3.0.0(8y ago)0102AGPL-3.0-or-laterPHPPHP ^7.1.0

Since Feb 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/osflab/cache)[ Packagist](https://packagist.org/packages/osflab/cache)[ Docs](https://github.com/osflab/cache)[ RSS](/packages/osflab-cache/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (3)Used By (2)

OSF cache component based on Redis
==================================

[](#osf-cache-component-based-on-redis)

A simple cache component optimised for Redis which implements PSR6 interface.

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

[](#installation)

You need at least php 7.1 and `composer`:

```
sudo apt install composer
```

### In your application via composer

[](#in-your-application-via-composer)

This is the recommended way to use this feature in a non-osf project.

Just add `osflab/cache` in your composer.json file.

### From github

[](#from-github)

To test the component or participate in its development.

```
git clone https://github.com/osflab/cache.git
cd cache && composer update
```

Unit tests launch:

```
vendor/bin/runtests
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Every ~53 days

Total

2

Last Release

2946d ago

PHP version history (2 changes)3.0.0PHP ^7.1.0

3.0.x-devPHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/abc3dea1dc84c5b66d10072481ff94a25c852239e3597fde32e86204b636f911?d=identicon)[Guillaume Ponçon](/maintainers/Guillaume%20Pon%C3%A7on)

---

Top Contributors

[![gponcon](https://avatars.githubusercontent.com/u/1412541?v=4)](https://github.com/gponcon "gponcon (22 commits)")

### Embed Badge

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

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

###  Alternatives

[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[cache/adapter-common

Common classes for PSR-6 adapters

11124.4M38](/packages/cache-adapter-common)[cache/filesystem-adapter

A PSR-6 cache implementation using filesystem. This implementation supports tags

705.8M82](/packages/cache-filesystem-adapter)[cache/array-adapter

A PSR-6 cache implementation using a php array. This implementation supports tags

548.3M151](/packages/cache-array-adapter)[cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

523.9M27](/packages/cache-redis-adapter)[cache/simple-cache-bridge

A PSR-6 bridge to PSR-16. This will make any PSR-6 cache compatible with SimpleCache.

423.1M27](/packages/cache-simple-cache-bridge)

PHPackages © 2026

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