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

ActiveLibrary

changchang700/redis
===================

redis client for all projects

1.0(6y ago)012BSD-3-ClausePHPPHP &gt;=5.3.9

Since Jul 9Pushed 6y agoCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

简单介绍
====

[](#简单介绍)

- 本组件使用@stream\_socket\_client与redis server通信，因此不需要安装php redis扩展；
- 本组件使用简单，代码仿照YII2 redis组件；

安装教程
====

[](#安装教程)

```
composer require changchang700/redis

```

运行上面命令安装组件

使用教程
====

[](#使用教程)

在需要引用的地方引入

```
use Component\Redis\Redis;

```

在文件内实例化

```
$redis = new Redis("127.0.0.1",6379);
$data = $redis->set('ddddd',"wwwwwwwwwww");
var_dump($redis->get("ddddd"));exit;

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

2498d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26076406?v=4)[木木](/maintainers/changchang700)[@changchang700](https://github.com/changchang700)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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