Download the PHP package freyo/laravel-queue-rocketmq without Composer
On this page you can find all versions of the php package freyo/laravel-queue-rocketmq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download freyo/laravel-queue-rocketmq
More information about freyo/laravel-queue-rocketmq
Files in freyo/laravel-queue-rocketmq
Package laravel-queue-rocketmq
Short Description Queue Adapter for AlibabaMQ(Apache RocketMQ) SDK
License MIT
Informations about the package laravel-queue-rocketmq
Installation
Configure
Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
-
config/app.php
: .env
:
Usage
Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
Example
Dispatch Jobs
The default connection name is rocketmq
Multiple Queues
Configure config/queue.php
Process Jobs
Plain Mode
Configure .env
Create a job implements PlainPayload
interface. The method getPayload
must return a sting value.
Create a plain job handler
References
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-queue-rocketmq with dependencies
illuminate/queue Version 5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
ext-json Version *
ext-curl Version *
aliyunmq/mq-http-sdk Version ^1.0
guzzlehttp/guzzle Version ^6.0.0