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. [Caching](/categories/caching)
4. /
5. rogerthomas84/ohcache

ActiveLibrary[Caching](/categories/caching)

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 1w 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 72% 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

2442d 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

[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.

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

PSR-16 simple cache drivers for PHP.

8814.4k4](/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.

7913.6k1](/packages/mmamedov-page-cache)[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)[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)
