Skip to content

cblink/laravel-aliyun-mns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-aliyun-mns

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:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. 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

Releases

No releases published

Packages

No packages published

Languages