PHPackages                             jiaozi/redis-queue - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. jiaozi/redis-queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

jiaozi/redis-queue
==================

v1.1.0(7y ago)014PHPPHP &gt;=5.6

Since Jul 31Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (0)

redis-queue
===========

[](#redis-queue)

一个Redis queue工具, 封装常用的队列相关操作, 简化队列的使用.

### 特性(FEATURES)

[](#特性features)

- 封装数据的序列化与反序列化
- 封装信号量处理, 便于代码更新时平滑重启
- 重试机制

### 代码

[](#代码)

守护进程端

```
$redis = new Redis();
$redis->connect("127.0.0.1", 6379, 30);
$redis->auth("xxx");

$queue = new RedisQueue($redis, "testQueue");
$queue->consume(function($data){
    var_dump($data);
});
```

以上代码中, consume调用平时不会退出, 除非有信号量进入. 有消息进入时, 回调函数将被自动调用.

投递一个消息.

```

$redis = new Redis();
$redis->connect("127.0.0.1", 6379, 30);
$redis->auth("xxx");

$queue = new RedisQueue($redis, "testQueue");
$queue->publish("hello");

```

###  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

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

Every ~105 days

Total

2

Last Release

2785d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[symfony/messenger

Helps applications send and receive messages to/from other applications or via message queues

1.1k128.6M1.4k](/packages/symfony-messenger)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

84735.1k](/packages/flow-php-flow)

PHPackages © 2026

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