thesmart/php-kue

A producer client for Kue, a redis queue implementation

0.2.0 2012-11-19 21:02 UTC

This package is not auto-updated.

Last update: 2024-03-24 01:15:51 UTC


README

A producer client for Kue, a redis queue implementation

Brought to you by the fine developers @ Telly.com

Installation

composer require php-kue

Usage

Queueing a job is simple:

$kue = new KueApi('127.0.0.1', 6379);
$jobId = $kue->createJob('email', array (
	'title' => 'welcome email for tj',
	'to' => 'tj@learnboost.com',
	'template' => 'welcome-email',
));

Results:
```php
var_export($result);
3

@TODO

  • Support for processing queue from PHP
  • Better error handling