Package Data | |
---|---|
Maintainer Username: | AaronJan |
Maintainer Contact: | aaronjan@qq.com (Aaron Jan) |
Package Create Date: | 2017-07-10 |
Package Last Update: | 2017-07-13 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:07:22 |
Package Statistics | |
---|---|
Total Downloads: | 292 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
RabbitMQ Queue driver for Laravel.
Install this package via composer using:
composer require aaronjan/laravel-rabbit
Add LaravelQueueRabbitMQServiceProvider to providers
array in config/app.php
:
LaravelRabbit\LaravelQueueRabbitMQServiceProvider::class,
Add these properties to .env
with proper values:
QUEUE_DRIVER=rabbitmq
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_VHOST=/
RABBITMQ_LOGIN=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_QUEUE=queue_name
You can also find full examples in src/examples folder.
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
Unit tests will be provided soon.
You can contribute to this package by discovering bugs and opening issues.
5.4
The version is being matched by the release tag of this library.
Forked from vladimir-yuldashev/laravel-queue-rabbitmq