PHPackages                             xiaowu/hyperf-redis-model - 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. [Database &amp; ORM](/categories/database)
4. /
5. xiaowu/hyperf-redis-model

ActiveLibrary[Database &amp; ORM](/categories/database)

xiaowu/hyperf-redis-model
=========================

use redis model

v0.2(6y ago)123MITPHPPHP &gt;=7.2.0

Since Jan 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Liangxiaowu/hyperf_redis_model)[ Packagist](https://packagist.org/packages/xiaowu/hyperf-redis-model)[ RSS](/packages/xiaowu-hyperf-redis-model/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

### hyperf - redis的简单封装

[](#hyperf---redis的简单封装)

#### 安装

[](#安装)

```
composer require xiaowu/hyperf-redis-model

```

#### 使用

[](#使用)

```
继承Rmodel类
namespace App\Rmodel;
use Rmodel\Rmodel;
class CardStock extends Rmodel
{

}

```

#### 方式

[](#方式)

```
CardStock::keys("*")            // 查询所有KEY
CardStock::get($key)            // 查询key值
CardStock::set($key, $value)    // 设置key值
CardStock::hGet($key);          //
CardStock::sGet($key, $value);
CardStock::expire(100)->set($key, $value);  // 设置key的过期时间
...

```

#### 地址

[](#地址)

```
https://packagist.org/packages/xiaowu/hyperf-redis-model

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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 ~0 days

Total

2

Last Release

2322d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xiaowu-hyperf-redis-model/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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