infuse / iron-mq
IronMQ module for Infuse Framework
Installs: 1 715
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: >=5.4.0
- iron-io/iron_mq: ~4.0
Requires (Dev)
- infuse/infuse: ~1.4
- satooshi/php-coveralls: 0.6.1
This package is auto-updated.
Last update: 2024-10-13 08:24:11 UTC
README
IronMQ module for Infuse Framework
Installation
- Install the package with composer:
composer require infuse/iron-mq
- Add the service to
services
in your app's configuration:
'services' => [ // ... 'ironmq' => 'Infuse\IronMQ\Services\IronMQ' // .... ]
- 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' ] ]
- (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