thesmart/php-kue

A producer client for Kue, a redis queue implementation

Installs: 1 248

Dependents: 0

Stars: 6

Watchers: 16

Forks: 1

Open Issues: 1

Language: PHP

0.2.0 2012-11-19 21:02 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