PHPackages                             bbit/async-dispatcher-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. [Queues &amp; Workers](/categories/queues)
4. /
5. bbit/async-dispatcher-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

bbit/async-dispatcher-bundle
============================

symfony BBITAsyncDispatcherBundle

2.6(9y ago)14117.9k↓33.3%8MITPHPPHP &gt;=5.3.2

Since Mar 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/BranchBit/AsyncDispatcherBundle)[ Packagist](https://packagist.org/packages/bbit/async-dispatcher-bundle)[ RSS](/packages/bbit-async-dispatcher-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (9)Used By (0)

AsyncDispatcherBundle
=====================

[](#asyncdispatcherbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/1a23eda3a5b093060710a66bcd4a629f5ddd26a806a658669ac35f4bdac0f0b1/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61633762663436632d616132612d343130302d626366302d6333626164303863633731332f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/ac7bf46c-aa2a-4100-bcf0-c3bad08cc713)[![knpbundles.com](https://camo.githubusercontent.com/02bf5301b35337b9108bc599d14bdf43ddbd77ff940e2a38c2c3e0c76a67ce12/687474703a2f2f6b6e7062756e646c65732e636f6d2f4272616e63684269742f4173796e634469737061746368657242756e646c652f62616467652d73686f7274)](http://knpbundles.com/BranchBit/AsyncDispatcherBundle)

[![Build Status](https://camo.githubusercontent.com/a7426f5a13ba386bc4f859728c022ede2d94a7885ffb7513d2fe44bdcc98e05a/68747470733a2f2f7472617669732d63692e6f72672f4272616e63684269742f4173796e634469737061746368657242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BranchBit/AsyncDispatcherBundle)[![Coverage Status](https://camo.githubusercontent.com/c26722cd033292064c7e691d88f5387d17fdec33e7189ff81087f669fa1fb119/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4272616e63684269742f4173796e634469737061746368657242756e646c652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/BranchBit/AsyncDispatcherBundle?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/128b5eee82cdb8c3ec2e9fcf4c264804d617071ab26ed85b52fa1fd2335cb951/68747470733a2f2f706f7365722e707567782e6f72672f626269742f6173796e632d646973706174636865722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/bbit/async-dispatcher-bundle)[![Total Downloads](https://camo.githubusercontent.com/db620415258940b8d5d4bfbf5e77f9ccb735ee536509b7593196b428e1d8fa58/68747470733a2f2f706f7365722e707567782e6f72672f626269742f6173796e632d646973706174636865722d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/bbit/async-dispatcher-bundle)

AsyncDispatcherBundle is a simple bundle which provides you with an async event dispatcher, which will store events untill kernel.terminate, and then fire them using the regular event dispatcher.

### Step 1: Download BBITAsyncDispatcherBundle using composer

[](#step-1-download-bbitasyncdispatcherbundle-using-composer)

Add BBITAsyncDispatcherBundle in your composer.json: (use the latest stable, NOT dev-master)

```
{
    "require": {
        "bbit/async-dispatcher-bundle": "2.5.0",
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update bbit/async-dispatcher-bundle
```

Composer will install the bundle to your project's `vendor/BBIT` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
