PHP code example of calchen / laravel-queue-aliyun-mns
1. Go to this page and download the library: Download calchen/laravel-queue-aliyun-mns library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
calchen / laravel-queue-aliyun-mns example snippets
$app->register(Calchen\LaravelQueueAliyunMns\AliyunMnsServiceProvider::class);
'mns' => [
'driver' => 'mns',
'access_key_id' => env('ALIYUN_ACCESS_KEY_ID'),
'access_key_secret' => env('ALIYUN_ACCESS_KEY_SECRET'),
'endpoint' => env('ALIYUN_MNS_ENDPOINT'),
'queue' => env('ALIYUN_MNS_QUEUE'),
],