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

ActiveLibrary[Caching](/categories/caching)

yiovo/tp6-cache
===============

tp6-cache

v1.0.5(11mo ago)05.5k↑11.1%32Apache-2.0PHPPHP &gt;=7.4.0

Since Nov 27Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/yiovo/tp6-cache)[ Packagist](https://packagist.org/packages/yiovo/tp6-cache)[ Docs](https://github.com/yiovo/tp6-captcha)[ RSS](/packages/yiovo-tp6-cache/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (7)Used By (2)

tp6-cache
---------

[](#tp6-cache)

thinkphp6 缓存类 (二次开发版)

#### 新增方法：

[](#新增方法)

`Cache::ttl(string $name)` 获取缓存剩余有效期(秒)

`Cache::update(string $name, $newVal, bool $isMerge = true)` 更新缓存内容 (该方法区别于set方法，set方法不支持更新内容同时保留缓存剩余有效期)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance50

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

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

Every ~265 days

Recently: every ~332 days

Total

6

Last Release

350d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.0

v1.0.2PHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![aaa1026](https://avatars.githubusercontent.com/u/15700867?v=4)](https://github.com/aaa1026 "aaa1026 (5 commits)")

### Embed Badge

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

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

###  Alternatives

[zoujingli/think-library

Core library and common services for ThinkAdmin

8373.4k19](/packages/zoujingli-think-library)[ichynul/tpextmyadmin

thinkphp extension

141.6k](/packages/ichynul-tpextmyadmin)

PHPackages © 2026

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