PHPackages                             stone/aliyun\_mns - 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. stone/aliyun\_mns

ActiveLibrary

stone/aliyun\_mns
=================

Laravel queue driver bases on Aliyun Message Service.

1.0.4.x-dev(8y ago)1141MITPHP

Since May 13Pushed 8y ago2 watchersCompare

[ Source](https://github.com/StoneGroup/aliyun_mns)[ Packagist](https://packagist.org/packages/stone/aliyun_mns)[ RSS](/packages/stone-aliyun-mns/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

aliyun\_mns
===========

[](#aliyun_mns)

这个包的目的不是为了封装阿里云官方的MNS sdk，而是为了给laravel提供基于MNS的队列驱动，让现有的使用laravel队列的程序可以方便的切换到阿里云MNS上。

使用步骤
====

[](#使用步骤)

1. composer require stone/aliyun\_mns:dev-master
2. 修改 config/queue.php， 新增mns配置:

    ```
    'connections' => array(

    	'sync' => array(
    		'driver' => 'sync',
    	),

    	'redis' => array(
    		'driver' => 'redis',
    		'queue'  => 'default',
    	),
        // 新增配置项
        'aliyunmns' => array(
            'driver' => 'aliyunmns',
            'queue'  => 'default',
        ),
    ),

    // mns服务配置
    'mns' => [
        'key' => 'xxxxx',
        'secret' => 'xxxxx',
        'baseuri' => 'http://xxxxx.aliyuncs.com',

        // 队列名称对应关系
        'queue' => [
            'default' => 'shop-demo',
        ],
    ],

    ```
3. 扩展队列驱动

    ```
    Queue::extend('aliyunmns', function()
    {
        return new Stone\Queue\Connectors\AliyunMNSConnector();
    });

    ```
4. 正常使用Laravel Queue 即可:

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

3200d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/876079baab0a0ba19fddddc8b5e6dff4b24fa725d380c4389267a9f09688de2a?d=identicon)[chefxu](/maintainers/chefxu)

---

Top Contributors

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

---

Tags

laravel

### Embed Badge

![Health badge](/badges/stone-aliyun-mns/health.svg)

```
[![Health](https://phpackages.com/badges/stone-aliyun-mns/health.svg)](https://phpackages.com/packages/stone-aliyun-mns)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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