spekkionu / ironmq-queue-driver
iron.io driver for pmg/queue
2.0.0
2016-09-20 04:08 UTC
Requires
- iron-io/iron_mq: 4.*
- pmg/queue: 3.*
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~5.5
This package is auto-updated.
Last update: 2024-11-12 13:01:42 UTC
README
==============================
<?php use IronMQ\IronMQ; use PMG\Queue\Serializer\NativeSerializer; use Spekkionu\PMG\Queue\Iron\Driver\IronDriver; $ironmq = new IronMQ(array( "token" => 'API_TOKEN', "project_id" => 'PROJECT_ID' )); $serializer = new NativeSerializer(); $driver = new IronDriver($ironmq, $serializer, [ 'timeout' => 2, 'delay' => 0 ]);