PHPackages                             laelaps/symfony-gearman-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. laelaps/symfony-gearman-bundle

AbandonedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

laelaps/symfony-gearman-bundle
==============================

Integrates Gearman into Symfony

1.2.0(7y ago)1436.5k9[1 issues](https://github.com/laelaps/symfony-gearman-bundle/issues)MITPHPPHP &gt;=5.3.0

Since Aug 12Pushed 7y ago2 watchersCompare

[ Source](https://github.com/laelaps/symfony-gearman-bundle)[ Packagist](https://packagist.org/packages/laelaps/symfony-gearman-bundle)[ Docs](https://github.com/laelaps/symfony-gearman-bundle)[ RSS](/packages/laelaps-symfony-gearman-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Symfony Gearman Bundle
======================

[](#symfony-gearman-bundle)

Wrapper for Gearman so that you get command lines tools and can use annotation in Symfony.

Also supports the Symfony web profiling toolbar integration.

Installation
------------

[](#installation)

### composer.json

[](#composerjson)

```
{
    "require": {
        "laelaps/symfony-gearman-bundle": "1.*@dev"
    }
}
```

### config.yml

[](#configyml)

We can configure one server for the client. Because only one is used. You need load balancer if you would like to share the load over multiple Gearman servers.

We can configure multiple servers for the workers. Because they do look for work on all configured Gearman servers.

[![Gearman cluster](https://camo.githubusercontent.com/4d29a012ab9fa84af871ff4cb406e7ba0006f83f734065b1d79bb8f8250a4e47/687474703a2f2f676561726d616e2e6f72672f696d672f636c75737465722e706e67)](https://camo.githubusercontent.com/4d29a012ab9fa84af871ff4cb406e7ba0006f83f734065b1d79bb8f8250a4e47/687474703a2f2f676561726d616e2e6f72672f696d672f636c75737465722e706e67)

```
laelaps_gearman:
    client_server: localhost:4730
    worker_servers:
        - localhost:4730
```

### app/AppKernel.php

[](#appappkernelphp)

```
