nWidart / Laravel-Broadway-Demo

This is a test application using https://github.com/qandidate-labs/broadway
36 stars 3 forks source link

Laravel Broadway example app

This is an example application using the Broadway package.

It's basically the Broadway examples/ directory, but in a Laravel application. When I'm feeling more comfortable, there will be more examples.

This demo project uses the Laravel-Broadway package.

Requirements

Installation

Clone this repository

git clone https://github.com/nWidart/Laravel-Broadway-Demo.git

Configure the database connection information

Edit the config/database.php file to suit your needs.

Run the migrations

php artisan migrate

Run the server

php artisan serve

Examples

Command Handling

Event Dispatcher

Event Handling

Event sourced child entity

Event sourced domain

Serializer