Download the PHP package yaojingwei/laravel-mns without Composer
On this page you can find all versions of the php package yaojingwei/laravel-mns. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yaojingwei/laravel-mns
More information about yaojingwei/laravel-mns
Files in yaojingwei/laravel-mns
Package laravel-mns
Short Description Aliyun MNS Queue Driver For Laravel
License MIT
Homepage https://github.com/lokielse/laravel-mns
Informations about the package laravel-mns
Aliyun MNS Queue Driver For Laravel
Install
Via Composer
Config
Add following service providers into your providers array in config/app.php
Edit your config/queue.php
, add mns
connection
About wait_seconds
Edit your .env
file
You should update QUEUE_MNS_ENDPOINT
to internal endpoint
in production mode
Usage
First create a queue and get queue endpoint at Aliyun MNS Console
Then update MNS_ENDPOINT
in .env
Push a test message to queue
Create queue listener, run command in terminal
Commands
Flush MNS messages on Aliyun
Security
Create RAM access control at Aliyun RAM Console
-
Create a custom policy such as
AliyunMNSFullAccessFoobar
-
Create a user for you app such as
foobar
-
Assign the policy
AliyunMNSFullAccessFoobar
to the userfoobar
-
Create and get the
AccessKeyId
andAccessKeySecret
for userfoorbar
- update
QUEUE_MNS_ACCESS_KEY
andQUEUE_MNS_ACCESS_SECRET
in.env
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Credits
- Loki Else
- abrahamgreyson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-mns with dependencies
php Version ~5.5|~7.0
lokielse/aliyun-open-api-mns Version ^1.0.2