Skip to content

About

A Symfony2 Gearman client Bundle

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

=============== LmGearmanBundle

This library provides a service for implementing a Gearman client: http://github.com/FriendsOfSymfony/FOSRest

INSTALLATION:

  • Prerequisit:
    Install the php gearman extension (http://gearman.org/gearman_php_extension)

  • in AppKernel
    new Lm\GearmanBundle\LmGearmanBundle(),

  • in parameters.yml
    gearman_host: {ip address of the gearman server}
    gearman_port: {port of the gearman server}

  • in composer.json
    require "lm/gearmanbundle": "dev-master"

USAGE:

In a controller
$gearman = $this->get('gearman');
$reponse=$gearman->doJob(functionName, data);

About

A Symfony2 Gearman client Bundle

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages