dev-master
9999999-devSymfony Gearman Client Bundle
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle >=2.1
by Christophe Charbuillet
client gearman
Symfony Gearman Client Bundle
===============, (*1)
This library provides a service for implementing a Gearman client: http://github.com/FriendsOfSymfony/FOSRest, (*2)
INSTALLATION:, (*3)
Prerequisit:
Install the php gearman extension (http://gearman.org/gearman_php_extension), (*4)
in AppKernel
new Lm\GearmanBundle\LmGearmanBundle(),, (*5)
in parameters.yml
gearman_host: {ip address of the gearman server}
gearman_port: {port of the gearman server}, (*6)
in composer.json
require "lm/gearmanbundle": "dev-master", (*7)
USAGE:, (*8)
In a controller
$gearman = $this->get('gearman');
$reponse=$gearman->doJob(functionName, data);
, (*9)
Symfony Gearman Client Bundle
MIT
client gearman