awildeep / disque-bundle
Disque bundle for Symfony
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- mariano/disque-php: ~1.3
- psr/log: ~1.0
- symfony/console: ~2.3
- symfony/framework-bundle: ~2.3
This package is not auto-updated.
Last update: 2025-03-29 20:53:52 UTC
README
Disque workqueue Disque is a distributed message broker. mariano/disque-php disque-php, a Disque PHP library.
The Awildeep/DisqueBundle is a Symfony2 Bundle that provides an easy way to integrate disque-php with Symfony2
Why do I need this?
Firstly, you do not need this at all.
mariano/disque-php is perfectly usable in Symfony2 without this bundle. This bundle is only intended to provide some useful integration points with Symfony2:
- Yaml configuration of Disque server(s)
- Command-line interaction with Disque via Symfony2's Commands. (Coming soon)
Should I use this?
Sure. Or don't. Either way I provide no warranty, guarantee, or promises what-so-ever. However if you like this feel free to patch as needed.
What is missing?
Almost everything. Currently this bundle only supports basic configuration, and provides a way to access the DisqueServer object via a service. More coming as I need it, or want it.
Installation
Composer
``` bash
$ php composer.phar require awildeep/disque-bundle
```
Enable the bundle
``` php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Awildeep\DisqueBundle\AwildeepDisqueBundle(),
);
}
```
Configure
``` yaml
# app/config/config.yml
awildeep_disque:
autoconnect: true
connection_timeout: 30
servers:
primary:
server: 127.0.0.1
port: 7711
#password: password
#server_2:
#server: 172.16.0.1
#port: 7711
#password: password
```
License
This bundle is under the MIT license. See the complete license.
Credits
Author
###Contributor(s) :
Currently none.