Laravel Event Projector v2 - Event Sourcing for Artisans
This Laravel package can help you setting up aggregates, projectors and reactors easily in Laravel 5.
Documentation
https://docs.spatie.be/laravel-event-projector/v2/introduction
Installation
laravel-event-projector can be installed via composer:
composer require spatie/laravel-event-projector:^2.0.0
You need to publish and run the migrations to create the stored_events table:
php artisan vendor:publish --provider="Spatie\EventProjector\EventProjectorServiceProvider" --tag="migrations"
php artisan migrate
You must publish the config file with this command:
php artisan vendor:publish --provider="Spatie\EventProjector\EventProjectorServiceProvider" --tag="config"
Source Code
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5.8 Laravel 5.7 Laravel 5.6 Laravel 5.5 Laravel 5.4 Laravel 5.3 Intermediate