2017 © Pedro Peláez
 

library laravel-qcloud-cmq-queue

This is a Laravel queue adapter for the QCloud CMQ.

image

xutl/laravel-qcloud-cmq-queue

This is a Laravel queue adapter for the QCloud CMQ.

  • Monday, July 16, 2018
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-qcloud-cmq-queue

This is a queue adapter for the QCloud CMQ, (*1)

Installation

composer require xutl/laravel-qcloud-cmq-queue

for Laravel

This service provider must be registered., (*2)

// config/app.php

'providers' => [
    '...',
    XuTL\QCloud\Cmq\Queue\CMQServiceProvider::class,
];

edit the config file: config/queue.php, (*3)

add config, (*4)

        'cmq' => [
            'driver' => 'cmq',
            'secret_Id' => env('CMQ_SECRET_ID', 'your-secret_Id'),
            'secret_Key' => env('CMQ_SECRET_KEY', 'your-secret_Key'),
            'endpoint' => 'https://cmq-queue-bj.api.qcloud.com',
            'queue' => 'default'
        ],

change default to cmq, (*5)

    'default' => 'cmq'

Use

see Laravel wiki, (*6)

The Versions

16/07 2018

dev-master

9999999-dev

This is a Laravel queue adapter for the QCloud CMQ.

  Sources   Download

MIT

The Requires

 

laravel queue qcloud cmq