Download the PHP package cminor-io/laravel-on-broadway-eventstore without Composer
On this page you can find all versions of the php package cminor-io/laravel-on-broadway-eventstore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cminor-io/laravel-on-broadway-eventstore
More information about cminor-io/laravel-on-broadway-eventstore
Files in cminor-io/laravel-on-broadway-eventstore
Package laravel-on-broadway-eventstore
Short Description A Broadway event store implementation using Laravel DB connector.
License MIT
Informations about the package laravel-on-broadway-eventstore
LaravelStore - LaravelOnBroadway Component
The LaravelStore Component provides an implementation of Broadway's EventStore using laravel's native database driver, in comparison with the default implementation that uses Doctrive/DBAL adapter.
The component is part of the cminor.io/laravel-on-broadway package.
Installation
Use composer.
composer require cminor.io/laravel-on-broadway-eventstore
Usage
The LaravelStore has 3 dependencies:
- A laravel database connection (ConnectionInterface)
- A stream serializer (StreamSerializerInterface - included in the package)
- A table name
Examples of instantiation will come in the future. For now check the tests to see how the store is instantiated.
Disclaimer
This package is still under development. Use this with common sense and at your own risk. I will try my best to fix any possible bugs. :) Any help is always appreciated.
Testing
The implementation uses the exact same tests as the rest of the Broadway's event store implementations to ensure compatibility.
Run the tests by issuing ./bin/phpunit
.
All versions of laravel-on-broadway-eventstore with dependencies
ramsey/uuid Version ~2.4
broadway/broadway Version ~0.8
illuminate/database Version ^5.2