PHPackages                             jtk/simple-php-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. jtk/simple-php-cache

ActiveLibrary[Caching](/categories/caching)

jtk/simple-php-cache
====================

Very small and simple lib for caching

v1.2.1(7y ago)09MITPHPPHP &gt;=5.5.0

Since Dec 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jtkDvlp/simple-php-cache)[ Packagist](https://packagist.org/packages/jtk/simple-php-cache)[ Docs](http://github.com/jtkDvlp/simple-php-cache)[ RSS](/packages/jtk-simple-php-cache/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/e087787d995651e16fc834c6d28445dd2b9890a6b9b7fe24265f70b0fd5929c2/68747470733a2f2f706f7365722e707567782e6f72672f6a746b2f73696d706c652d7068702d63616368652f762f737461626c65)](https://packagist.org/packages/jtk/simple-php-cache) [![Total Downloads](https://camo.githubusercontent.com/d925f3530dc9c5bdee0a7f61df4733e60c46a84db2de17fe154096be770c72e3/68747470733a2f2f706f7365722e707567782e6f72672f6a746b2f73696d706c652d7068702d63616368652f646f776e6c6f616473)](https://packagist.org/packages/jtk/simple-php-cache) [![License](https://camo.githubusercontent.com/8d55cfc9bfbee8f9d5b671b7de15d8e10ae986e8eba064aed808a1a17eac524c/68747470733a2f2f706f7365722e707567782e6f72672f6a746b2f73696d706c652d7068702d63616368652f6c6963656e7365)](https://packagist.org/packages/jtk/simple-php-cache)

Simple PHP Cache
================

[](#simple-php-cache)

This very small lib is for caching in php apps. The caching is very simple. It supports caching with php`s arrays e.g. the session array and it supports file based caching. The file based version uses the php (un)serialization algorithm, thus it supports close to all types (see php documentation) and also keep the type information.

Usage
-----

[](#usage)

See for Usage the "example.php" file in the root directory.

License
-------

[](#license)

See for license the "LICENSE" file in the root directory.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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

6

Last Release

2707d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/866f1d26d79420c3e0950096b9daa7fd77b65e615a94fccb9e4c4ef82d6baf7f?d=identicon)[jtkDvlp](/maintainers/jtkDvlp)

---

Top Contributors

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

---

Tags

arraycachecachefilecachememorycachephpcachefilecachememorycachearraycache

### Embed Badge

![Health badge](/badges/jtk-simple-php-cache/health.svg)

```
[![Health](https://phpackages.com/badges/jtk-simple-php-cache/health.svg)](https://phpackages.com/packages/jtk-simple-php-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)[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)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)

PHPackages © 2026

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