cblink / laravel-aliyun-mns
aliyun mns queue driver
dev-master
2021-01-27 09:41 UTC
Requires
- php: >=7.2
- ext-json: *
- aliyun/aliyun-mns-php-sdk: ^1.1
Requires (Dev)
- orchestra/testbench: ^5.14
This package is auto-updated.
Last update: 2024-11-27 18:01:41 UTC
README
aliyun mns queue driver.
Installing
$ composer require cblink/laravel-aliyun-mns -vvv
Config
Edit your config/queue.php, add mns connection
<?php return [ 'connections' => [ // ... 'mns' => [ 'driver' => 'mns', 'key' => env('QUEUE_MNS_ACCESS_KEY'), 'secret' => env('QUEUE_MNS_SECRET_KEY'), 'endpoint' => env('QUEUE_MNS_ENDPOINT'), 'queue' => env('QUEUE_NAME'), 'wait_seconds' => 30, ] ] ];
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT