idealistsoft/framework-iron-mq

This package is abandoned and no longer maintained. The author suggests using the infuse/iron-mq package instead.

IronMQ module for Infuse Framework

1.2 2016-09-20 20:03 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:38:35 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads HHVM Status

IronMQ module for Infuse Framework

Installation

  1. Install the package with composer:
composer require infuse/iron-mq
  1. Add the service to services in your app's configuration:
'services' => [
	// ...
	'ironmq' => 'Infuse\IronMQ\Services\IronMQ'
	// ....
]
  1. Add the console command to run jobs to modules.commands in your app's configuration:
'modules' => [
	// ...
	'commands' => [
		// ...
		'Infuse\IronMQ\Console\SetupCommand',
		'Infuse\IronMQ\Console\ProcessCommand'
	]
]
  1. (optional) Add an endpoint to your routing table to receive push queue messages:
'routes' => [
	// ...
	'POST /iron/message' => [
		'Infuse\IronMQ\Controller',
		'message'
    ]
	// ...
]

Usage

If you are using iron.io push queues they can be installed with ./infuse iron-setup