PHPackages                             rogerthomas84/ohcache - 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. rogerthomas84/ohcache

ActiveLibrary

rogerthomas84/ohcache
=====================

OhCache is a flexible caching library for PHP

1.1.4(6y ago)111.2k3MITPHPPHP &gt;=5.3.7CI failing

Since Oct 13Pushed 6y agoCompare

[ Source](https://github.com/rogerthomas84/ohcache)[ Packagist](https://packagist.org/packages/rogerthomas84/ohcache)[ Docs](https://github.com/rogerthomas84/ohcache)[ RSS](/packages/rogerthomas84-ohcache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (14)Used By (0)

OhCache
=======

[](#ohcache)

OhCache is a flexible caching library for PHP

Using Composer
--------------

[](#using-composer)

To use OhCache with Composer, add the dependency (and version constraint) to your require block inside your `composer.json` file.

```
{
    "require": {
        "rogerthomas84/ohcache": "1.1.*"
    }
}
```

Quick Start
-----------

[](#quick-start)

OhCache exposes the following methods for Caching:

- `APC`
- `Memcache`
- `Memcached`
- `FileSystem`

In addition to this, there is a `AdapterNull` which you can use for test (or development) purposes.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% 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 ~156 days

Recently: every ~430 days

Total

13

Last Release

2351d ago

Major Versions

0.0.1 → 1.0.22014-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/5de4b9a90eadf6b595e1b5efc802683f2358da5661c616820b90c922f8aa8e05?d=identicon)[rogerthomas84](/maintainers/rogerthomas84)

---

Top Contributors

[![rogerthomas84](https://avatars.githubusercontent.com/u/350232?v=4)](https://github.com/rogerthomas84 "rogerthomas84 (26 commits)")[![anjz](https://avatars.githubusercontent.com/u/591452?v=4)](https://github.com/anjz "anjz (1 commits)")

---

Tags

php cacheohcachecache adapters

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rogerthomas84-ohcache/health.svg)

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

###  Alternatives

[phpfastcache/phpfastcache

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

2.4k5.0M130](/packages/phpfastcache-phpfastcache)[nielse63/phpimagecache

Image Cache is a very simple PHP module that accepts an image source and will compress and cache the file, move it to a new directory, and return the cache source for the image.

44713.3k](/packages/nielse63-phpimagecache)[shieldon/simple-cache

PSR-16 simple cache drivers for PHP.

8813.8k4](/packages/shieldon-simple-cache)[mmamedov/page-cache

PageCache is a lightweight PHP library for full page cache. It uses various strategies to differentiate among separate versions of the same page.

7912.7k1](/packages/mmamedov-page-cache)

PHPackages © 2026

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