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

ActiveLibrary[Caching](/categories/caching)

yiche/unify-redis
=================

对 redis 进行简要封装

4.0.1(6y ago)04MITPHP

Since Aug 12Pushed 6y ago3 watchersCompare

[ Source](https://github.com/saasyc-inc/unify-redis)[ Packagist](https://packagist.org/packages/yiche/unify-redis)[ RSS](/packages/yiche-unify-redis/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

#### redis的简要封装

[](#redis的简要封装)

虽然是对 laravel 中 redis facade 的封装 但是用户应该优先使用 ext-redis 扩展 根据之前在丁香园的压力测试 ext-redis 的扩展性能要远远优于 predis/predis

当使用 predis 的时候 报出了 resolved host error 的错误的时候 使用 ext-redis 后减少了该错误

### 一个值得思考的问题

[](#一个值得思考的问题)

到底应该如何 命名的问题

因为存在内存雪崩问题

所以倾向于给一个值的过期时间的时候 加上随机数 目前是正负百分之10

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

2514d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1787380?v=4)[yiche](/maintainers/yiche)[@YiChe](https://github.com/YiChe)

---

Top Contributors

[![missing-u](https://avatars.githubusercontent.com/u/8327028?v=4)](https://github.com/missing-u "missing-u (11 commits)")

---

Tags

laravel

### Embed Badge

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

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

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

974169.8k2](/packages/awssat-laravel-visits)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202570.3k8](/packages/swayok-alternative-laravel-cache)[ryangjchandler/blade-cache-directive

Cache chunks of your Blade markup with ease.

205220.8k6](/packages/ryangjchandler-blade-cache-directive)[encore/redis-manager

Redis manager for laravel

24943.1k](/packages/encore-redis-manager)[dragon-code/laravel-cache

An improved interface for working with cache

7045.6k10](/packages/dragon-code-laravel-cache)[alexmg86/laravel-sub-query

Laravel subquery

7539.6k](/packages/alexmg86-laravel-sub-query)

PHPackages © 2026

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