PHPackages                             gavin-k/yii2-invalid-cache-behavior - 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. gavin-k/yii2-invalid-cache-behavior

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

gavin-k/yii2-invalid-cache-behavior
===================================

Redis Cache,ActiveRecord for the Yii framework

07PHP

Since Dec 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/gavin-k/yii2-invalid-cache-behavior)[ Packagist](https://packagist.org/packages/gavin-k/yii2-invalid-cache-behavior)[ RSS](/packages/gavin-k-yii2-invalid-cache-behavior/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

触发式缓存
=====

[](#触发式缓存)

用于触发式的更新缓存的机制, 对缓存进行碎片化处理.

使用方式
----

[](#使用方式)

对应的 `Model` 类需要继承

安装
--

[](#安装)

```
"require" : {
    "gavin-k/yii2-invalid-cache-behavior":"*"
},

```

或者使用命令:

```
composer require gavin-k/yii2-invalid-cache-behavior

```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![gavin-k](https://avatars.githubusercontent.com/u/7688199?v=4)](https://github.com/gavin-k "gavin-k (4 commits)")

### Embed Badge

![Health badge](/badges/gavin-k-yii2-invalid-cache-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/gavin-k-yii2-invalid-cache-behavior/health.svg)](https://phpackages.com/packages/gavin-k-yii2-invalid-cache-behavior)
```

###  Alternatives

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

PHPackages © 2026

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