PHPackages                             mitirrli/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. [Caching](/categories/caching)
4. /
5. mitirrli/redis-queue

ActiveLibrary[Caching](/categories/caching)

mitirrli/redis-queue
====================

固定大小的redis队列、分布式锁

v2.1.1(6y ago)4431MITPHPPHP &gt;=7.0

Since Jan 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Mitirrli/redis-tools)[ Packagist](https://packagist.org/packages/mitirrli/redis-queue)[ Docs](https://github.com/Mitirrli/redis-tools)[ RSS](/packages/mitirrli-redis-queue/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (17)Used By (0)

 This package is Abandoned.
============================

[](#-this-package-is-abandoned-)

🌈 基于redis的一些组件

[![Total Downloads](https://camo.githubusercontent.com/833ded62763a65411ccef23b74dbd371fcc64891b1b0e702dcf0f20024b783ac/68747470733a2f2f706f7365722e707567782e6f72672f6d69746972726c692f72656469732d746f6f6c732f646f776e6c6f616473)](https://packagist.org/packages/mitirrli/redis-tools)[![Latest Stable Version](https://camo.githubusercontent.com/2a19d1942de8bf097281b2ed8c545b2c9c235c48b1d630c5b61d71b3f4a52f60/68747470733a2f2f706f7365722e707567782e6f72672f6d69746972726c692f72656469732d746f6f6c732f762f737461626c65)](https://packagist.org/packages/mitirrli/redis-tools)[![Latest Unstable Version](https://camo.githubusercontent.com/21c9c35c1eba42348b3fb4d948e4b994ba6605333f1d8566dd30b909965d3f53/68747470733a2f2f706f7365722e707567782e6f72672f6d69746972726c692f72656469732d746f6f6c732f762f756e737461626c65)](https://packagist.org/packages/mitirrli/redis-tools)[![License](https://camo.githubusercontent.com/1d94c3ec69ada12fedcf1c4bc37edfa65171ef53ff5043782d9162a39240f232/68747470733a2f2f706f7365722e707567782e6f72672f6d69746972726c692f72656469732d746f6f6c732f6c6963656e7365)](https://packagist.org/packages/mitirrli/redis-tools)

### 固定大小的redis队列

[](#固定大小的redis队列)

```
$Lock = new \Mitirrli\Queue\Queue(['key' => 'test', 'lLen' => 10]]);

$Lock->toList('a');

```

### redis分布式锁

[](#redis分布式锁)

```
$Lock = new \Mitirrli\Lock\Lock(['key' => 'test']);

//业务逻辑占用锁
$Lock->lock();

//解锁
$Lock->unlock();

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.5% 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 ~7 days

Total

16

Last Release

2193d ago

Major Versions

v1.0.5 → v2.0.02020-04-08

### Community

Maintainers

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

---

Top Contributors

[![Mitirrli](https://avatars.githubusercontent.com/u/50682346?v=4)](https://github.com/Mitirrli "Mitirrli (52 commits)")[![yuansunlight](https://avatars.githubusercontent.com/u/25894825?v=4)](https://github.com/yuansunlight "yuansunlight (3 commits)")

---

Tags

composerlockphpqueueredisredistools

### Embed Badge

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

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

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[longman/laravel-lodash

Add more functional to Laravel

9792.9k](/packages/longman-laravel-lodash)[clue/redis-protocol

A streaming Redis protocol (RESP) parser and serializer written in pure PHP.

5311.0M13](/packages/clue-redis-protocol)[cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

523.9M27](/packages/cache-redis-adapter)[enqueue/redis

Message Queue Redis Transport

405.5M25](/packages/enqueue-redis)

PHPackages © 2026

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