Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nWidart/Laravel-Broadway-Demo
This is a test application using https://github.com/qandidate-labs/broadway
https://github.com/nWidart/Laravel-Broadway-Demo
Last synced: about 2 months ago
JSON representation
This is a test application using https://github.com/qandidate-labs/broadway
- Host: GitHub
- URL: https://github.com/nWidart/Laravel-Broadway-Demo
- Owner: nWidart
- Created: 2015-01-16T16:55:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T01:31:00.000Z (over 1 year ago)
- Last Synced: 2024-07-08T15:42:19.058Z (2 months ago)
- Language: CSS
- Size: 422 KB
- Stars: 36
- Watchers: 4
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Laravel Broadway example app
This is an example application using the [Broadway](https://github.com/qandidate-labs/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](https://github.com/nWidart/Laravel-broadway) package.
## Requirements
- PHP >=5.5
- Elasticsearch
- MySQL## 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](https://github.com/qandidate-labs/broadway/tree/master/examples/command-handling)
* Route: `/command-handling`
* Code: `Modules/Controllers/HomeController@index`### [Event Dispatcher](https://github.com/qandidate-labs/broadway/tree/master/examples/event-dispatcher)
* Route: `/event-dispatcher`
* Code: `Modules/Controllers/HomeController@eventDispatcher`### [Event Handling](https://github.com/qandidate-labs/broadway/tree/master/examples/event-handling)
* Route: `/event-handling`
* Code: `Modules/Controllers/HomeController@eventHandling`### [Event sourced child entity](https://github.com/qandidate-labs/broadway/tree/master/examples/event-sourced-child-entity)
* Route:
* **Read**: `/parts/index`
* **Write**: `create part` modal on `/parts/index`
* **Rename** with inline editing on the `/parts/index` uri
* Code: `Modules/Parts`
* Tests: `Tests/Parts/`### [Event sourced domain](https://github.com/qandidate-labs/broadway/tree/master/examples/event-sourced-domain-with-tests)
* Route: `n/a`
* Code: *coming soon*
* Tests: *coming soon*### [Serializer](https://github.com/qandidate-labs/broadway/blob/master/examples/serializer/serializer.php)
* Route: *coming soon*
* Code: *coming soon*