PHPackages                             anqin/beanstalkd - 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. anqin/beanstalkd

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

anqin/beanstalkd
================

适用于thinkphp6的beanstalkd消息队列

v1.0.1(4y ago)120Apache-2.0PHPPHP &gt;=7.4

Since Mar 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Alex-Yuen/queue-beanstalkd)[ Packagist](https://packagist.org/packages/anqin/beanstalkd)[ RSS](/packages/anqin-beanstalkd/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Queue-Beanstalkd
================

[](#queue-beanstalkd)

> 运行环境要求PHP7.4+。

安装
--

[](#安装)

```
composer require anqin/beanstalkd

```

卸载
--

[](#卸载)

安装后默认启用beanstalkd队列,如取消请直接卸载

```
composer remove anqin/beanstalkd

```

配置
--

[](#配置)

修改queue.php配置文件

```
return [
    'default'     => 'beanstalkd',
    'connections' => [
        //...其他默认配置
        'beanstalkd' => [
            'type'            => '\an\queue\connector\Beanstalkd',
            'queue'           => 'default',//默认队列分组,默认分组必消费
            'host'            => '127.0.0.1',//服务器IP
            'port'            => 11300,//端口
            'imp'             => 0,//连接模式
            'timeout'         => 5,//连接服务器超时时间
            'reserve_timeout' => 10,//消费队列的等待时间
            'serialize'       => ['serialize', 'unserialize'],//序列化函数
        ],
        //...其他默认配置
    ],
    //...其他默认配置
];

```

使用
--

[](#使用)

使用方式与think-queue一致

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

Total

5

Last Release

1764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26308207c736c17d648bd8245c9667b5a328c7b4942e83645c661f5d4aac16ee?d=identicon)[anqin](/maintainers/anqin)

---

Top Contributors

[![Alex-Yuen](https://avatars.githubusercontent.com/u/5312648?v=4)](https://github.com/Alex-Yuen "Alex-Yuen (3 commits)")

---

Tags

beanstalkdthink-queuethink beanstalkd

### Embed Badge

![Health badge](/badges/anqin-beanstalkd/health.svg)

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

###  Alternatives

[pda/pheanstalk

PHP client for beanstalkd queue

1.9k31.2M250](/packages/pda-pheanstalk)[davidpersson/beanstalk

Minimalistic PHP client for beanstalkd.

200321.9k8](/packages/davidpersson-beanstalk)[udokmeci/yii2-beanstalk

Yii2 Beanstalk Client at the top of Paul Annesley's pheanstalk

69125.3k3](/packages/udokmeci-yii2-beanstalk)[pmatseykanets/artisan-beans

Easily manage your Beanstalkd job queues right from the Laravel artisan command

4482.1k](/packages/pmatseykanets-artisan-beans)[foxxmd/laravel-elasticbeanstalk-queue-worker

Deploy your Laravel application as a queue worker on AWS ElasticBeanstalk

5493.5k](/packages/foxxmd-laravel-elasticbeanstalk-queue-worker)[xobotyi/beansclient

PHP7.1+ client for beanstalkd work queue with no dependencies

9226.8k](/packages/xobotyi-beansclient)

PHPackages © 2026

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