PHPackages                             ykwang110521/predis - 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. ykwang110521/predis

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

ykwang110521/predis
===================

A simple redis operation class package.

v1.3(7y ago)018MITPHPPHP &gt;=5.4

Since Nov 27Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

predis
======

[](#predis)

A simple redis operation class package.

### install

[](#install)

composer require ykwang110521/predis

### demo

[](#demo)

```
require 'vendor/autoload.php';

use Ykwang\Predis;
$config['host'] = '127.0.0.1';
$config['port'] = 6379;
$config['prefix'] = 'wrLI_'; // 可以设置为空
$config['auth'] = ''; // 本地默认密码为空
$redis = new Predis($config);
$rand = rand(1,99);
$redis->set('key'.$rand, 'value'.$rand.'--23432423423');
$res = $redis->get('key'.$rand);
var_dump($res);die;
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

2740d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ykwang110521-predis/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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