Installation is a quick 3 step process:
- Download LeezyPheanstalkBundle using composer
- Enable the Bundle
- Configure your application's config.yml
Tell composer to require this bundle by running:
$ composer require leezy/pheanstalk-bundle
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Leezy\PheanstalkBundle\LeezyPheanstalkBundle(),
);
}
Finally, add the following to your config.yml
# app/config/config.yml
leezy_pheanstalk:
pheanstalks:
primary:
server: beanstalkd.domain.tld
default: true