indigophp/fuel-queue

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

Fuel wrapper around Indigo Queue package

v1.0.0 2014-07-23 21:21 UTC

This package is not auto-updated.

Last update: 2019-02-20 17:39:04 UTC


README

Build Status Latest Stable Version Total Downloads License Dependency Status

This package is a wrapper around indigophp/queue package.

Install

Via Composer

{
    "require": {
        "indigophp/fuel-queue": "@stable"
    }
}

Usage

// Simple way
\Queue::forge('process');

Run your worker

oil r worker process
oil r worker *queue* [connector] [--quiet]

Configuration

'process' => function () {
    $pheanstalk = new Pheanstalk_Pheanstalk('localhost', 11300);
    return new Indigo\Queue\Connector\BeanstalkdConnector($pheanstalk);
}

Credits

License

The MIT License (MIT). Please see License File for more information.