This package is a wrapper around indigophp/queue package.
Via Composer
{
"require": {
"indigophp/fuel-queue": "@stable"
}
}
// Simple way
\Queue::forge('process');
Run your worker
oil r worker process
oil r worker *queue* [connector] [--quiet]
'process' => function () {
$pheanstalk = new Pheanstalk_Pheanstalk('localhost', 11300);
return new Indigo\Queue\Connector\BeanstalkdConnector($pheanstalk);
}
The MIT License (MIT). Please see License File for more information.