PHPackages                             jeroen-de-dauw/simple-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. jeroen-de-dauw/simple-cache

Abandoned → [jeroen/simple-cache](/?search=jeroen%2Fsimple-cache)Library[Caching](/categories/caching)

jeroen-de-dauw/simple-cache
===========================

Small library defining a minimalistic caching interface and provides some basic implementations

2.0.0(11y ago)0420GPL-2.0+PHPPHP &gt;=5.3.0CI failing

Since Jun 29Pushed 5y ago3 watchersCompare

[ Source](https://github.com/JeroenDeDauw/SimpleCache)[ Packagist](https://packagist.org/packages/jeroen-de-dauw/simple-cache)[ Docs](https://github.com/JeroenDeDauw/SimpleCache)[ RSS](/packages/jeroen-de-dauw-simple-cache/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

SimpleCache
===========

[](#simplecache)

Small library defining a minimalistic caching interface and provides some basic implementations.

[![Build Status](https://camo.githubusercontent.com/849fa6aed068d1e512940037dc020cfa2b9938fde07cfcde7f304a3316bc345c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4a65726f656e4465446175772f53696d706c6543616368652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/JeroenDeDauw/SimpleCache)[![Code Coverage](https://camo.githubusercontent.com/d9443644a263da57a3cec8852528bc772362a4b34ce31cd22a085b7cc8fc9ff5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a65726f656e4465446175772f53696d706c6543616368652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/JeroenDeDauw/SimpleCache/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/48763f4e524a05acd4dcef360e44ee885583cdbc82a960c4a275407a951d877e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a65726f656e4465446175772f53696d706c6543616368652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/JeroenDeDauw/SimpleCache/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/0cc71936887207ba1e67886cdce0d26e990c41122dc47f91af5fa47b00b67483/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f73696d706c652d63616368652f76657273696f6e2e706e67)](https://packagist.org/packages/jeroen/simple-cache)[![Download count](https://camo.githubusercontent.com/99d4679a169370819ac07f6a1012315b6a9144f569100665b394d672e63e8ec4/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f73696d706c652d63616368652f642f746f74616c2e706e67)](https://packagist.org/packages/jeroen/simple-cache)

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

[](#installation)

You can use [Composer](http://getcomposer.org/) to download and install this package as well as its dependencies. Alternatively you can simply clone the git repository and take care of loading yourself.

### Composer

[](#composer)

To add this package as a local, per-project dependency to your project, simply add a dependency on `jeroen/simple-cache` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on SimpleCache 2.x:

```
{
    "require": {
        "jeroen/simple-cache": "~2.0"
    }
}

```

### Manual

[](#manual)

Get the SimpleCache code, either via git, or some other means. Also get all dependencies. You can find a list of the dependencies in the "require" section of the composer.json file. Load all dependencies and the load the SimpleCache library by including its entry point: SimpleCache.php.

Running the tests
-----------------

[](#running-the-tests)

```
composer ci

```

Authors
-------

[](#authors)

SimpleCache has been written by [Jeroen De Dauw](https://github.com/JeroenDeDauw)as hobby project.

Release notes
-------------

[](#release-notes)

### 2.1.0 (dev)

[](#210-dev)

- Dropped support for PHP 5.3, 5.4 and 5.5

### 2.0.0 (2014-08-19)

[](#200-2014-08-19)

- Renamed package from `jeroen-de-dauw/simple-cache` to `jeroen/simple-cache`
- Removed `SimpleCache.php` entry point. Autoloading is now done via Composers PSR-4 support
- Removed the MediaWiki extension registration and i18n support

### 1.0.3 (2013-08-07)

[](#103-2013-08-07)

- Removed pointless code from CombinatoryCache
- Added missing test for CombinatoryCache

### 1.0.2 (2013-08-07)

[](#102-2013-08-07)

- Fixed bug in MediaWikiCache::has
- Added unit tests for MediaWikiCache

### 1.0.1 (2013-07-15)

[](#101-2013-07-15)

- Added optional expiryTime parameter to the constructor of MediaWikiCache.

### 1.0.0 (2013-07-05)

[](#100-2013-07-05)

- Initial release.

Links
-----

[](#links)

- [SimpleCache on Packagist](https://packagist.org/packages/jeroen/simple-cache)
- [SimpleCache on Ohloh](https://www.ohloh.net/p/simplecache)
- [TravisCI build status](http://travis-ci.org/JeroenDeDauw/SimpleCache)
- [Code coverage status](https://coveralls.io/r/JeroenDeDauw/SimpleCache?branch=master)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

Recently: every ~102 days

Total

6

Last Release

4283d ago

Major Versions

0.1 → 1.02013-07-05

1.0.3 → 2.0.02014-08-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

---

Top Contributors

[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (43 commits)")

---

Tags

cachesimplecache

### Embed Badge

![Health badge](/badges/jeroen-de-dauw-simple-cache/health.svg)

```
[![Health](https://phpackages.com/badges/jeroen-de-dauw-simple-cache/health.svg)](https://phpackages.com/packages/jeroen-de-dauw-simple-cache)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[gilbitron/php-simplecache

A simple script for caching 3rd party API calls in PHP.

26137.3k5](/packages/gilbitron-php-simplecache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33313.0k](/packages/anahkiasen-flatten)

PHPackages © 2026

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