PHPackages                             level-2/simplecache - 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. level-2/simplecache

ActiveLibrary[Caching](/categories/caching)

level-2/simplecache
===================

A very simple ArrayAccess based file ache

43741PHP

Since Apr 21Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Level-2/SimpleCache)[ Packagist](https://packagist.org/packages/level-2/simplecache)[ RSS](/packages/level-2-simplecache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#simplecache)

A very simplistic file cache that uses the ArrayAcces interface

Usage
-----

[](#usage)

1. Include SimpleCache.php in your project

```
require_once 'SimpleCache\SimpleCache.php';
```

2. Instantiate the SimpleCache class and provide a cache directory

```
$cache = new \SimpleCache\SimpleCache('./tmp');
```

3. Use the `$cache` object like any array. Index names will be created as files. When you run the script again the index will still have the value you assigned it.

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5889315?v=4)[TomButler](/maintainers/TomButler)[@tombutler](https://github.com/tombutler)

---

Top Contributors

[![TRPB](https://avatars.githubusercontent.com/u/2454540?v=4)](https://github.com/TRPB "TRPB (7 commits)")

### Embed Badge

![Health badge](/badges/level-2-simplecache/health.svg)

```
[![Health](https://phpackages.com/badges/level-2-simplecache/health.svg)](https://phpackages.com/packages/level-2-simplecache)
```

###  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)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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