Download the PHP package mcfedr/queue-driver-pheanstalk-bundle without Composer
On this page you can find all versions of the php package mcfedr/queue-driver-pheanstalk-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package queue-driver-pheanstalk-bundle
Beanstalk Queue Driver Bundle
A driver for Queue Manager Bundle that uses beanstalkd
Usage
The beanstalk runner is a Symfony command. You can runner multiple instances if you need to handle higher numbers of jobs.
Where {name}
is what you used in the config. Add -v
or more to get detailed logs.
Install
Composer
php composer.phar require mcfedr/beanstalk-queue-driver-bundle
AppKernel
Include the bundle in your AppKernel
public function registerBundles()
{
$bundles = array(
...
new Mcfedr\BeanstalkQueueDriverBundle\McfedrBeanstalkQueueDriverBundle(),
Config
With this bundle installed you can setup your queue manager config similar to this:
mcfedr_queue_manager:
managers:
default:
driver: beanstalkd
options:
host: 127.0.0.1
port: 11300
default_queue: mcfedr_queue
Options to QueueManager::put
queue
- The name of the queue to put the job inpriority
- The job priorityttr
- Beanstalk Time to run, the time given for a job to finish before it is repeatedtime
- A\DateTime
object of when to schedule this jobdelay
- Number of seconds from now to schedule this job
All versions of queue-driver-pheanstalk-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
symfony/symfony Version ^2.8|^3.0
mcfedr/queue-manager-bundle Version ^5.0
pda/pheanstalk Version ^3.1.0
symfony/symfony Version ^2.8|^3.0
mcfedr/queue-manager-bundle Version ^5.0
pda/pheanstalk Version ^3.1.0
The package mcfedr/queue-driver-pheanstalk-bundle contains the following files
Loading the files please wait ....