PHPackages                             ganbarodigital/php-static-data-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. ganbarodigital/php-static-data-cache

ActiveLibrary[Caching](/categories/caching)

ganbarodigital/php-static-data-cache
====================================

Convenient static data cache for speeding up expensive operations

1.0.1(11y ago)0117.6k↑18.1%2BSD-3-ClausePHPPHP &gt;= 5.5

Since Jul 10Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (2)

PHP Static Data Cache
=====================

[](#php-static-data-cache)

[![GitHub license](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://raw.githubusercontent.com/ganbarodigital/php-static-data-cache/develop/LICENSE.md)[![@ganbarodigital on Twitter](https://camo.githubusercontent.com/cfe3f6e7ae9c18f66fa57bed843790e668bd3ac88417017dfe9f45d8f0296cb9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d25343067616e6261726f6469676974616c2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/ganbarodigital)[![Total Downloads](https://camo.githubusercontent.com/5115d85d5de40d3a46751f14ed47ee70f21646faa67421b743a6a545a3e8c2e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616e6261726f6469676974616c2f7068702d7374617469632d646174612d63616368652e7376673f7374796c653d666c6174)](https://packagist.org/packages/ganbarodigital/php-static-data-cache)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4d9e980bb3d36f24d46df721c098f53662d0d7f9e22570a1fd2bf8dfedd0ffe2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d7374617469632d646174612d63616368652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-static-data-cache/?branch=master)[![Build Status](https://camo.githubusercontent.com/de9dd153611a7fb2a66cd14bab1adfbb7eb0a911c3fda7de711dfd13caff404b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67616e6261726f6469676974616c2f7068702d7374617469632d646174612d63616368652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ganbarodigital/php-static-data-cache/build-status/master)[![Coverage Status](https://camo.githubusercontent.com/3e54e78181c831f8348f294853681315fdf846cecc7badbe316c6c2d84d8293a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f67616e6261726f6469676974616c2f7068702d7374617469632d646174612d63616368652f62616467652e737667)](https://coveralls.io/r/ganbarodigital/php-static-data-cache)[![Dependency Status](https://camo.githubusercontent.com/ea968d9eab62b8ddd711b75b845551bae50c1847081e066d84464b9d5ca7b2f9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d7374617469632d646174612d63616368652f6465762d6d61737465722f62616467652e737667)](https://www.versioneye.com/php/ganbarodigital:php-static-data-cache/dev-master)[![Reference Status](https://camo.githubusercontent.com/a132dfc105d08da126767b2c393f28f652e1fca6030265301f6668f9e3d155a0/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f67616e6261726f6469676974616c3a7068702d7374617469632d646174612d63616368652f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/ganbarodigital:php-static-data-cache/references)

Introduction
------------

[](#introduction)

The PHP Static Data Cache library provides an incredibly simple key/value data cache that you can quickly drop into your own project to save you time and effort.

This was originally part of the [PHP Data Containers](https://github.com/ganbarodigital/php-data-containers) project. It's been broken out to avoid circular dependencies between the [PHP Data Containers](https://github.com/ganbarodigital/php-data-containers) project and the [PHP Reflection](https://github.com/ganbarodigital/php-reflection) project.

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

[](#installation)

We recommend that you install the full [PHP Data Containers](https://github.com/ganbarodigital/php-data-containers) project, which will include the PHP Static Data Cache as a dependency.

Run this command to add this library to your `composer.json` file:

```
composer require ganbarodigital/php-data-containers

```

and then run `composer update`.

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

4056d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-static-data-cache/health.svg)

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

###  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)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[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)
