Beanstalkd implementation for the queue library of the PHP Ride framework.
This implementation could not implement an overview of the waiting queue jobs nor updating the status since Beanstalkd does not support this.
Check this code sample to see how to initialize this library:
<?php
use ride\library\queue\BeanstalkdFactory;
use ride\library\queue\BeanstalkdQueueManager;
function createQueueManager() {
$factory = new BeanstalkdFactory();
$client = $factory->createClient('localhost', 11300);
$queueManager = new BeanstalkdQueueManager($client);
return $queueManager;
}
You can check the following related modules to this library:
- ride/app-queue-beanstalkd
- ride/app-queue-orm
- ride/cli-queue
- ride/lib-common
- ride/lib-log
- ride/lib-queue
- ride/wba-queue
- ride/wra-queue
You can use Composer to install this library.
composer require ride/lib-queue