yrizos/cue-client

This package is abandoned and no longer maintained. No replacement package was suggested.

0.1 2018-03-19 11:48 UTC

This package is auto-updated.

Last update: 2022-12-23 19:57:07 UTC


README

PHP client for speix/cue

Setup

composer require yrizos/cue-client

Usage

$client = new Cue\Client('127.0.0.1', 8000);
$task   = new \Cue\Task(
    'queue', // queue name
    'task', // task name
    [
        'message 1',
        'message 2',
        'message 3',
    ],
    60 // delay in seconds
);

$client->queueTask($task);