PHPackages                             xutl/yii2-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. xutl/yii2-queue

ActiveYii2-extension[Queues &amp; Workers](/categories/queues)

xutl/yii2-queue
===============

The aliyun queue extension for the Yii framework

1.0.0(8y ago)41.7k2[1 issues](https://github.com/xutl/yii2-queue/issues)MITPHP

Since Sep 6Pushed 8y agoCompare

[ Source](https://github.com/xutl/yii2-queue)[ Packagist](https://packagist.org/packages/xutl/yii2-queue)[ RSS](/packages/xutl-yii2-queue/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (1)Used By (0)

Aliyun/QCloud Queue Extension for Yii 2
=======================================

[](#aliyunqcloud-queue-extension-for-yii-2)

[![Latest Stable Version](https://camo.githubusercontent.com/97d53e1757a5c67383160d5dc93d5ece44e6f9a53fcb8c29fcc4c0e1d8d9f804/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d71756575652f762f737461626c652e706e67)](https://packagist.org/packages/xutl/yii2-queue)[![Total Downloads](https://camo.githubusercontent.com/bdb4712fece960e24fc0f346eb2717b67b524590635d3bbf8c2f070126e39892/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d71756575652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/xutl/yii2-queue)[![Dependency Status](https://camo.githubusercontent.com/9c564d5734aba3206160bbe2f846b8e2f5974a87cd63128d98d278e1d62e23a7/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7875746c3a796969322d71756575652f6465762d6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/xutl:yii2-queue/dev-master)[![License](https://camo.githubusercontent.com/42dd815816d9d07dbbd931ba269a69ac67d2842f4c1a3ec066f6602b7a52d852/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d71756575652f6c6963656e73652e737667)](https://packagist.org/packages/xutl/yii2-queue)

这个扩展是给官方原版的 `yiisoft/yii2-queue` 增加了 阿里云/腾讯云 消息队列驱动，只有队列，没有主题。按下面说明配置上以后，就可以按照官方原版的说明开始使用即可。

Installation
------------

[](#installation)

Next steps will guide you through the process of installing using [composer](http://getcomposer.org/download/). Installation is a quick and easy three-step process.

### Step 1: Install component via composer

[](#step-1-install-component-via-composer)

Either run

```
composer require --prefer-dist xutl/yii2-queue

```

or add

```
"xutl/yii2-queue": "~2.0.0"
```

to the `require` section of your composer.json.

### Step 2: Configuring your application

[](#step-2-configuring-your-application)

Add following lines to your main configuration file:

```
    'components' => [
        'queue' => [
            'class' => 'xutl\queue\aliyun\Queue',
            'endPoint' => 'http://aabbcc.mns.cn-hangzhou.aliyuncs.com/',
            'accessId' => '1234567',
            'accessKey' => '654141234',
            'queue' => 'task',
        ],
        'queue2' => [
            'class' => 'xutl\queue\qcloud\Queue',
            'endPoint' => 'http://aabbcc.mns.cn-hangzhou.aliyuncs.com/',
            'region' => 'bj',
            'accessId' => '1234567',
            'accessKey' => '654141234',
            'queue' => 'task',
        ],
    ],
```

Read  to continue

License
-------

[](#license)

This is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)for details.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

3168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87b658aa9d49e0c80cfc609fa2b9dc6d615672b1d895f421f751945a0e394087?d=identicon)[larvacent](/maintainers/larvacent)

---

Top Contributors

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

---

Tags

aliyunaliyun-mnsqueueyii2yii2-extensionmessagequeueyii2aliyun

### Embed Badge

![Health badge](/badges/xutl-yii2-queue/health.svg)

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

###  Alternatives

[aliyunmq/mq-http-sdk

Aliyun Message Queue(MQ) Http PHP SDK, PHP&gt;=5.5.0

75379.9k14](/packages/aliyunmq-mq-http-sdk)[trntv/yii2-command-bus

Yii2 Command Bus extension

57625.1k8](/packages/trntv-yii2-command-bus)[bubasuma/yii2-simplechat

A simple chat for your yii2 application

889.5k](/packages/bubasuma-yii2-simplechat)[ignatenkovnikita/yii2-queuemanager

Yii2 Queue Manager

2061.8k2](/packages/ignatenkovnikita-yii2-queuemanager)

PHPackages © 2026

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