PHP code example of fifths / laravel-mns

1. Go to this page and download the library: Download fifths/laravel-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/ */

    

fifths / laravel-mns example snippets


    '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,
],