ride / lib-queue-beanstalkd
Beanstalkd implementation of the queue library
1.0.0
2016-10-13 12:26 UTC
Requires
- davidpersson/beanstalk: ^2.0
- ride/lib-queue: ^1.0.0
This package is auto-updated.
Last update: 2024-11-13 01:00:49 UTC
README
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.
Code Sample
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; }
Related Modules
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
Installation
You can use Composer to install this library.
composer require ride/lib-queue