hydreflab / iron-queue
IronMQ support for the Laravel queue.
v5.6
2018-02-08 19:51 UTC
Requires
- php: ^7.1.3
- illuminate/container: 5.6.*
- illuminate/contracts: 5.6.*
- illuminate/encryption: 5.6.*
- illuminate/http: 5.6.*
- illuminate/queue: 5.6.*
- illuminate/support: 5.6.*
- iron-io/iron_mq: ~4.0
- jeremeamia/superclosure: ~2.0
Requires (Dev)
- mockery/mockery: ~1.0
- phpunit/phpunit: ~7.0
README
This package provides a IronMQ (~4.0 SDK) driver for the Laravel queue system.
History
This repository is a fork of LaravelCollective IronMQ driver repo.
I've decided to fork and maintain IronMQ driver repository due to lack of support from original authors/maintainers.
Installation
composer require hydreflab/iron-queue
(currently for Laravel 5.6)- since Laravel 5.5, no service provider registration is needed
- prior to Laravel 5.5, register service provider in your
config/app.php
'providers' => [ // ... Collective\IronQueue\IronQueueServiceProvider::class, ]
- configure your
iron
queue driver in yourconfig/queue.php
. - set
iron
as your queue driver in your.env
.
To install driver for Laravel 5.x, run composer require hydreflab/iron-queue:5.x.*
and replace x
with the desired version.
Sample Configuration:
'iron' => [ 'driver' => 'iron', 'host' => 'mq-aws-us-east-1-1.iron.io', 'token' => 'your-token', 'project' => 'your-project-id', 'queue' => 'your-queue-name', 'encrypt' => true, 'timeout' => 60 ],