PHPackages                             opis/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. opis/cache

AbandonedArchivedLibrary[Caching](/categories/caching)

opis/cache
==========

A library that helps you work with cached content

4.0.0(7y ago)81.6k11Apache-2.0PHPPHP ^7.0

Since Dec 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/opis/cache)[ Packagist](https://packagist.org/packages/opis/cache)[ Docs](https://www.opis.io/cache)[ RSS](/packages/opis-cache/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (26)Used By (1)

Opis Cache
==========

[](#opis-cache)

[![Build Status](https://camo.githubusercontent.com/cda6e1694647c242a26cef09d41966cd1291484fa5c0b528059a94bc029717f2/68747470733a2f2f7472617669732d63692e6f72672f6f7069732f63616368652e706e67)](https://travis-ci.org/opis/cache)[![Latest Stable Version](https://camo.githubusercontent.com/88743160f5a2e54d2054fdd7d37369ad4911fca3634631e504df973249db05c0/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f63616368652f762f737461626c652e706e67)](https://packagist.org/packages/opis/cache)[![Latest Unstable Version](https://camo.githubusercontent.com/fd93385cfe00903d1347b8b00ff669a377333684b711cdc1beb6dd1956dfd476/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f63616368652f762f756e737461626c652e706e67)](https://packagist.org/packages/opis/cache)[![License](https://camo.githubusercontent.com/21caa0178bebf28985b29889579a27b4fec75008c4e9ede5794b0342ae7037d9/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f63616368652f6c6963656e73652e706e67)](https://packagist.org/packages/opis/cache)

Caching library
---------------

[](#caching-library)

**Opis Cache** is library that helps you work with cached content. Cached content can be stored and retrieved by using one of the provided cache driver. You can create your own cache driver by simply implementing an interface.

The currently supported cache drivers are: File, Memory, and PHPFile.

### Documentation

[](#documentation)

The full documentation for this library can be found [here](https://opis.io/cache).

### License

[](#license)

**Opis Cache** is licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0 "Apache License").

### Requirements

[](#requirements)

- PHP ^7.0

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

[](#installation)

**Opis Cache** is available on [Packagist](https://packagist.org/packages/opis/cache "Packagist") and it can be installed from a command line interface by using [Composer](https://getcomposer.org "Composer").

```
composer require opis/cache
```

Or you could directly reference it into your `composer.json` file as a dependency

```
{
    "require": {
        "opis/cache": "^4.0"
    }
}
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 94.6% 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 ~110 days

Recently: every ~465 days

Total

24

Last Release

2050d ago

Major Versions

1.7.0 → 2.0.02014-11-15

2.3.x-dev → 3.0.02015-08-31

3.1.x-dev → 4.0.02018-09-04

4.0.0 → 2020.x-dev2020-11-18

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

4.0.0PHP ^7.0

2020.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47afaf3c711dd321c8d09bae2afed928971ec9e9a7593c925749696f04d2fddd?d=identicon)[msarca](/maintainers/msarca)

![](https://www.gravatar.com/avatar/7c720b40eb280d9fd33cc35d74c34b3763c2777bd2502d094625faa367f0dca4?d=identicon)[sorinsarca](/maintainers/sorinsarca)

---

Top Contributors

[![msarca](https://avatars.githubusercontent.com/u/5808737?v=4)](https://github.com/msarca "msarca (140 commits)")[![sorinsarca](https://avatars.githubusercontent.com/u/3427195?v=4)](https://github.com/sorinsarca "sorinsarca (8 commits)")

---

Tags

cachecache managercache drivers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opis-cache/health.svg)

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

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k757.1M2.6k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k712.8M1.6k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

445124.5M44](/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.

2514.6M10](/packages/beste-in-memory-cache)[fastd/fastd

A High Performance API Framework By Swoole Extension

42015.4k18](/packages/fastd-fastd)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33113.0k](/packages/anahkiasen-flatten)

PHPackages © 2026

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