The easiest way to install and configure the BroadwayBundle with Symfony is by using Symfony Flex.
Make sure you have Symfony Flex installed:
$ composer require symfony/flex ^1.0
$ composer config extra.symfony.allow-contrib true
Install the bundle:
$ composer require broadway/broadway-bundle
Symfony Flex will automatically register and configure the bundle.
By default in-memory implementations of the event store and read models are used. You can install one of the persistent implementations as described in the Event store and Read models sections of the documentation.
Install the bundle:
$ composer require broadway/broadway-bundle
Register the bundle in your application kernel:
$bundles = array(
// ..
new Broadway\Bundle\BroadwayBundle\BroadwayBundle(),
);
How can I help you explore Laravel packages today?