PHPackages                             jphooiveld/eventsauce-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. jphooiveld/eventsauce-bundle

ActiveSymfony-bundle

jphooiveld/eventsauce-bundle
============================

EventSauce Bundle

v4.0.0(5mo ago)1548.5k↓29.5%9MITPHPPHP ^8.5CI passing

Since May 26Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/jphooiveld/EventSauceBundle)[ Packagist](https://packagist.org/packages/jphooiveld/eventsauce-bundle)[ RSS](/packages/jphooiveld-eventsauce-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (18)Versions (14)Used By (0)

JphooiveldEventSauceBundle
==========================

[](#jphooiveldeventsaucebundle)

[![BUild status](https://github.com/jphooiveld/EventSauceBundle/actions/workflows/ci.yaml/badge.svg)](https://github.com/jphooiveld/EventSauceBundle/actions/workflows/ci.yaml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/22afc01d92d81559f23a8844d3c3b7905323d7c5f39e68f04294a1d1bd4d72ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a70686f6f6976656c642f4576656e74536175636542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/22afc01d92d81559f23a8844d3c3b7905323d7c5f39e68f04294a1d1bd4d72ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a70686f6f6976656c642f4576656e74536175636542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)[![Code Coverage](https://camo.githubusercontent.com/ae8b4b0fdf31ba769f3f5ae61d2e9e3a06170fa9eda3e38bb12f4304c1c69116/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a70686f6f6976656c642f4576656e74536175636542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/ae8b4b0fdf31ba769f3f5ae61d2e9e3a06170fa9eda3e38bb12f4304c1c69116/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a70686f6f6976656c642f4576656e74536175636542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)

Info
----

[](#info)

This bundle integrates EventSauce, and it's doctrine message repository into your symfony application.

It's strongly advised to know how EventSauce works or read up on the offical website () before you install this bundle.

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

[](#installation)

Install the bundle into your symfony project.

```
$ composer require jphooiveld/eventsauce-bundle

```

Installing the bundle will give you an error because doctrine message repository is missing. You must install the doctrine message repository fromt the EventSauce project. Since the EventSauce project has a version for both Doctrine DBAL version 2.x and 3.x, it's impossible to use both at the same time, so you need to chooce the correct version yourself. The bundle will automatically check which version of the message repository is installed and load the appropriate services.

If you use a project Doctrine DBAL version 3.x. you must install the package.

```
$ composer require eventsauce/message-repository-for-doctrine

```

Or if you use a project with Doctrine DBAL version 2.x. you must install the package.

```
$ composer require eventsauce/message-repository-for-doctrine-v2

```

If you want to use symfony messenger as dispatcher instead of the default dispatcher you must install the package.

```
$ composer require symfony/messenger

```

If you want to use the console command to generate the database table for you, you must install the package.

```
$ composer require symfony/console

```

Normally symfony should be able to register the bundle automatically. If not you will need to add it to the bundles.php in your config directory.

```
