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

ActiveLibrary[Caching](/categories/caching)

yasd/redis
==========

v1.1.1(4y ago)020MITPHPPHP &gt;=8.0

Since Sep 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/YaShangDong/Redis)[ Packagist](https://packagist.org/packages/yasd/redis)[ RSS](/packages/yasd-redis/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

YaSD/Redis
==========

[](#yasdredis)

```
composer require yasd/redis
```

```
use YaSD\Redis\RedisClient;

$redisConfig = [
    'host' => '127.0.0.1',
    'port' => 6379,
    'auth' => 'auth string or user_pass array or null',
];

$redis = RedisClient::create($redisConfig);
$redis->getRedis()->doSomething();
$redis->getRedis(ping: true)->doSomething();
$redis->ping()->getRedis()->doSomething();
```

Persistent
----------

[](#persistent)

```
use YaSD\Redis\RedisClient;

$redisConfig = [
    'host'         => '127.0.0.1',
    'port'         => 6379,
    'persistentId' => 'persistentId or null',
    'auth'         => 'auth string or user_pass array or null',
];

$redis = RedisClient::createPersistent($redisConfig);
$redis->ping()->getRedis()->doSomething();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

1748d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k162.1M3.4k](/packages/symfony-form)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k247.1M333](/packages/sentry-sentry)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M263](/packages/nelmio-api-doc-bundle)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[symfony/rate-limiter

Provides a Token Bucket implementation to rate limit input and output in your application

27054.3M289](/packages/symfony-rate-limiter)

PHPackages © 2026

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