PHPackages                             yac-redis/yac-redis - 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. yac-redis/yac-redis

ActiveLibrary[Caching](/categories/caching)

yac-redis/yac-redis
===================

24PHP

Since Jul 3Pushed 6y agoCompare

[ Source](https://github.com/zhymm1314/yacRedis)[ Packagist](https://packagist.org/packages/yac-redis/yac-redis)[ RSS](/packages/yac-redis-yac-redis/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yacRedis
========

[](#yacredis)

介绍：基于yac和redis的简单的二级缓存

composer下载方式
------------

[](#composer下载方式)

```
composer require yac-redis/yac-redis dev-master

```

准备工作
----

[](#准备工作)

```
下载安装redis、yac 以及扩展

```

如何使用
----

[](#如何使用)

```
setYacRedis($key,$select) 存值
getYacRedis($key,$value,$timeouts,$selects) 取值
$key 键名
$value 值
$selects 选择的redis的库 默认0
$timeouts 过期时间 默认无穷

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/34020083?v=4)[xHai](/maintainers/zhymm1314)[@zhymm1314](https://github.com/zhymm1314)

---

Top Contributors

[![zhymm1314](https://avatars.githubusercontent.com/u/34020083?v=4)](https://github.com/zhymm1314 "zhymm1314 (15 commits)")

### Embed Badge

![Health badge](/badges/yac-redis-yac-redis/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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