fifths / laravel-mns
laravel mns class
v1.0.0
2018-06-14 12:17 UTC
Requires
- php: >=7.0
- fifths/php-mns: 1.3.5
This package is auto-updated.
Last update: 2025-01-15 06:34:16 UTC
README
Version 1.3.5
Install
composer require fifths/laravel-mns
Lumen5.6
$app->register(LaravelMNS\LaravelMNSServiceProvider::class);
config/queue.php
'mns' => [
'driver' => 'mns',
'key' => env('QUEUE_MNS_ACCESS_KEY_ID'),
'secret' => env('QUEUE_MNS_ACCESS_KEY_SECRET'),
'endpoint' => env('QUEUE_MNS_ENDPOINT'),
'queue' => 'default',
'wait_seconds' => 30,
],
.env
# QUEUE MNS
QUEUE_DRIVER=mns
QUEUE_MNS_ACCESS_KEY_ID=
QUEUE_MNS_ACCESS_KEY_SECRET=
QUEUE_MNS_ENDPOINT=