This is a Laravel queue adapter for the Aliyun MNS.
xutl/laravel-aliyun-mns-queue is a Laravel package for this is a laravel queue adapter for the aliyun mns..
It currently has 0 GitHub stars and 174 downloads on Packagist (latest version 1.0.1).
Install it with composer require xutl/laravel-aliyun-mns-queue.
Discover more Laravel packages by xutl
or browse all Laravel packages to compare alternatives.
Last updated
This is a queue adapter for the Aliyun MNS
composer require xutl/laravel-aliyun-mns-queue
This service provider must be registered.
// config/app.php
'providers' => [
'...',
XuTL\Aliyun\Mns\Queue\AliyunMnsServiceProvider::class,
];
edit the config file: config/queue.php
add config
'mns' => [
'driver' => 'mns',
'access_id' => env('MNS_ACCESS_ID', 'your-access-key-id'),
'access_key' => env('MNS_ACCESS_KEY', 'your-access-key-secret'),
'security_token' => env('MNS_SECURITY_TOKEN', 'your-security-token'),
'endpoint' => 'http(s)://{AccountId}.mns.cn-hangzhou.aliyuncs.com',
'queue' => 'default'
],
change default to mns
'default' => 'mns'
see Laravel wiki