PHPackages                             flipboxfactory/craft-psr16 - 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. flipboxfactory/craft-psr16

ActiveLibrary[Caching](/categories/caching)

flipboxfactory/craft-psr16
==========================

PSR-16 Simple Cache for Craft CMS

2.0.0(3y ago)012.1k13MITPHPPHP &gt;=8.0

Since Apr 24Pushed 6mo ago2 watchersCompare

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

READMEChangelog (2)Dependencies (4)Versions (6)Used By (3)

PSR-16 Cache for Craft CMS
==========================

[](#psr-16-cache-for-craft-cms)

[![Join the chat at https://gitter.im/flipboxfactory/craft-psr16](https://camo.githubusercontent.com/720dcb2ecab8291b8026241879a4ef190575c00ead0516d8609b0c9d43016607/68747470733a2f2f6261646765732e6769747465722e696d2f666c6970626f78666163746f72792f63726166742d70737231362e737667)](https://gitter.im/flipboxfactory/craft-psr16?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Latest Version](https://camo.githubusercontent.com/2986c7432ce482a5627304412bcfb62bec7596859452514926e75cf0a4156a7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f666c6970626f78666163746f72792f63726166742d70737231362e7376673f7374796c653d666c61742d737175617265)](https://github.com/flipboxfactory/craft-psr16/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f8437f5ca8f26571cf596fbd8060f8ccdd6f0e423d51f85ffd10adbb9b5d5eee/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c6970626f78666163746f72792f63726166742d70737231362f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/flipboxfactory/craft-psr16)[![Coverage Status](https://camo.githubusercontent.com/1904c12a836535a8f7c354b939264403d4f7e0f805387a5ee625611a98e96af6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f666c6970626f78666163746f72792f63726166742d70737231362e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr16/code-structure)[![Quality Score](https://camo.githubusercontent.com/adafd2adebdb021febf45616580543fd85d34a047248c993295e16a5ba49a78b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666c6970626f78666163746f72792f63726166742d70737231362e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr16)[![Total Downloads](https://camo.githubusercontent.com/64e81f15240965c24a25459baace4e53fbb1af65b0a1a26888134400fc89acc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6970626f78666163746f72792f63726166742d70737231362e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flipboxfactory/craft-psr16)

This package provides simple mechanism for PSR-16 Simple Cache via Craft CMS.

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

[](#installation)

To install, use composer:

```
composer require flipboxfactory/craft-psr16

```

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

Usage
-----

[](#usage)

Define it as a component in your plugin

```
'components' => [
    'psr16cache' => [
        'class' => flipbox\craft\psr16\SimpleAdapterCache::class
     ]
]
```

or via your composer as an 'extra' definition

```
"components": {
  "psr16cache": "flipbox\\craft\\psr16\\SimpleAdapterCache"
}
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/flipboxfactory/craft-psr16/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Flipbox Digital](https://github.com/flipbox)
- [devonliu02/yii2-simple-cache-adapter](https://github.com/devonliu02/yii2-simple-cache-adapter)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/flipboxfactory/craft-psr16/blob/master/LICENSE) for more information.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance49

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~916 days

Total

4

Last Release

186d ago

Major Versions

1.1.0 → 2.0.02023-01-20

PHP version history (2 changes)1.0.0PHP &gt;=7.0

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f88ef7075dc76a34393f80402c30cc8eec30d5134835314136669a68b8ce817f?d=identicon)[nateiler](/maintainers/nateiler)

---

Top Contributors

[![nateiler](https://avatars.githubusercontent.com/u/1892443?v=4)](https://github.com/nateiler "nateiler (7 commits)")[![jcherniak](https://avatars.githubusercontent.com/u/1727656?v=4)](https://github.com/jcherniak "jcherniak (1 commits)")

---

Tags

psr-16yii2Craftpsr16craft cms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/flipboxfactory-craft-psr16/health.svg)

```
[![Health](https://phpackages.com/badges/flipboxfactory-craft-psr16/health.svg)](https://phpackages.com/packages/flipboxfactory-craft-psr16)
```

###  Alternatives

[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[graham-campbell/bounded-cache

A Bounded TTL PSR-16 Cache Implementation

101.9M6](/packages/graham-campbell-bounded-cache)

PHPackages © 2026

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