2017 © Pedro Peláez
 

library aliyun-mns-laravel

阿里云消息服务在Laravel5中的Queue拓展。

image

icemanpro/aliyun-mns-laravel

阿里云消息服务在Laravel5中的Queue拓展。

  • Monday, April 24, 2017
  • by icemanpro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 112 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

AliyunMns

Latest Stable VersionLicense, (*1)

使用阿里云消息服务(MNS )作为Laravel5队列驱动。, (*2)

安装

添加依赖包。, (*3)

composer require icemanpro/aliyun-mns-laravel dev-master

使用

找到 config/app.php 配置文件中,key为 providers 的数组,在数组中添加服务提供者。, (*4)

    'providers' => [
        // ...
        Latrell\AliyunMns\MnsServiceProvider::class,
    ]

打开队列配置文件 config/queue.php,修改驱动为 mns 。, (*5)

服务地地址参考:https://help.aliyun.com/document_detail/mns/api_reference/invoke/request.html?spm=5176.docmns/introduction/concepts.6.150.uNuU4m, (*6)

    'connections' => [
        // ...
        'mns' => [
            'driver' => 'mns',
            'access_id' => 'your-access-key-id',
            'access_key' => 'your-access-key-secret',
            'security_token' => null,
            'end_point' => 'http(s)://{AccountId}.mns.cn-hangzhou.aliyuncs.com',
            'queue' => 'your-queue-name'
        ],
    ],

SDK 版本号

已含aliyunMNS SDK 1.3.1, (*7)

The Versions

24/04 2017

dev-master

9999999-dev https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

24/11 2016

2.2.2

2.2.2.0 https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

02/09 2016

2.2

2.2.0.0 https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

02/09 2016

2.2.1

2.2.1.0 https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

31/08 2016

2.1

2.1.0.0 https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

18/08 2016

2.0

2.0.0.0 https://github.com/icemanpro/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan
by Avatar icemanpro

laravel laravel 5 l5 aliyun mns

27/04 2016

1.0

1.0.0.0 https://github.com/Latrell/AliyunMns

阿里云消息服务在Laravel5中的Queue拓展。

  Sources   Download

MIT

The Requires

 

by Latrell Chan

laravel laravel 5 l5 aliyun mns