PHPackages                             bestyii/yii2-psr16cache - 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. bestyii/yii2-psr16cache

ActiveYii2-extension[Caching](/categories/caching)

bestyii/yii2-psr16cache
=======================

PSR-16 Cache for Yii2

v1.0.0(3y ago)21.5k↓25%BSD-3-ClausePHPPHP &gt;=7.0

Since Sep 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bestyii/yii2-psr16cache)[ Packagist](https://packagist.org/packages/bestyii/yii2-psr16cache)[ RSS](/packages/bestyii-yii2-psr16cache/feed)WikiDiscussions main Synced 1mo ago

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

PSR-16 Cache for Yii2
=====================

[](#psr-16-cache-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/9b9383277f345fc8726e7474eaa423cbd4aacccb2263db4ddf6982c4d356ece4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f626573747969692f796969322d707372313663616368652e7376673f7374796c653d666c61742d737175617265)](https://github.com/bestyii/yii2-psr16cache/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Coverage Status](https://camo.githubusercontent.com/380013552a46e57a2f8f15346a45f062511095739e19b9b2f17ba341551d011a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f626573747969692f796969322d707372313663616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bestyii/yii2-psr16cache/code-structure)[![Quality Score](https://camo.githubusercontent.com/400ce26d03694ee4e4290a5870c36c86eb9bd4132cdde28af96709888d9cf5a3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626573747969692f796969322d707372313663616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bestyii/yii2-psr16cache)[![Total Downloads](https://camo.githubusercontent.com/3998631f1f50ebee04309383b92fd8eee99fe8195292bf1cb2a1ca0fb94378b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626573747969692f796969322d707372313663616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bestyii/yii2-psr16cache)

This package provides simple mechanism base PSR-16 Simple Cache for Yii2.

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

[](#installation)

To install, use composer:

```
composer require bestyii/yii2-psr16cache

```

Testing
-------

[](#testing)

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

Usage
-----

[](#usage)

Define it as a component in your plugin

```
'components' => [
    'psr16cache' => [
        'class' => bestyii\psr16cache\SimpleCacheAdapter::class
     ]
]
```

Credits
-------

[](#credits)

- [PSR-16 Cache for Craft CMS](https://github.com/flipboxfactory/craft-psr16)
- [devonliu02/psr16cache](https://github.com/devonliu02/yii2-simple-cache-adapter)

License
-------

[](#license)

The BSD 3-Clause License. Please see [License File](https://github.com/bestyii/yii2-psr16cache/blob/main/LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1340d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/383284?v=4)[Yang](/maintainers/ezsky)[@ezsky](https://github.com/ezsky)

---

Top Contributors

[![ezsky](https://avatars.githubusercontent.com/u/383284?v=4)](https://github.com/ezsky "ezsky (3 commits)")

---

Tags

cachesimple-cachepsr-16yii2extensionpsr16bestyii.com

### Embed Badge

![Health badge](/badges/bestyii-yii2-psr16cache/health.svg)

```
[![Health](https://phpackages.com/badges/bestyii-yii2-psr16cache/health.svg)](https://phpackages.com/packages/bestyii-yii2-psr16cache)
```

###  Alternatives

[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[undefinedor/yii2-cached-active-record

The cached activeRecord for the Yii2 framework

102.6k](/packages/undefinedor-yii2-cached-active-record)

PHPackages © 2026

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