PHPackages                             douyu/beanstalk - 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. douyu/beanstalk

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

douyu/beanstalk
===============

beanstalk

v1.1.0(3y ago)012MITPHPPHP &gt;=7.4

Since Jul 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/doyutech/beanstalk)[ Packagist](https://packagist.org/packages/douyu/beanstalk)[ RSS](/packages/douyu-beanstalk/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

Beanstalk协程客户端组件
================

[](#beanstalk协程客户端组件)

组件：douyu/beanstalk

> composer 安装

```
cmd：composer require douyu/beanstalk:v1.0.0

```

> 发布配置

```
php bin/hyperf.php vendor:publish douyu/beanstalk

```

> 配置异步队列 配置文件：config/autoload/async\_queue.php

> 配置如下，可参看hyperf/async-queue的相关配置与使用

```
'beanstalk'  => [
    'driver'    => \Douyu\Beanstalk\BeanstalkDriver::class,
    'beanstalk' => [
        'pool' => 'default'
    ],
    'channel' => 'btqueue',
    'tube'    => 'default',
    'timeout' => 2,
    'retry_seconds' => [1, 5, 10],
    'handle_timeout' => 10,
    'processes' => 1,
    'concurrent' => [
        'limit' => 5,
    ],
]

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

1412d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71896780423d54956acb1b5ce060bf324e46ebc9735120ad73f29f11f96ca557?d=identicon)[doyutech](/maintainers/doyutech)

---

Top Contributors

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

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/douyu-beanstalk/health.svg)

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

###  Alternatives

[hyperf/amqp

A amqplib for hyperf.

241.2M56](/packages/hyperf-amqp)

PHPackages © 2026

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