event-sourcery/laravel-event-sourcery-driver

Laravel Driver for a Minimalistic PHP Event Sourcing / CQRS Library with GDPR Support.

1.0.1 2018-08-06 14:15 UTC

This package is auto-updated.

Last update: 2024-04-12 20:24:32 UTC


README

This is the Laravel driver for the Event Sourcery framework.

Library is under conceptual development. Do not use.

Table of Contents

Todo List

  1. documentation
  2. shrug
  3. tooling

This code is extremely proof-of-concepty. Once we work in production with it for a few months we'll have it cleaned up and documented.

Documentation

Documentation and more information about Event Sourcery can be found in the core event-sourcery/event-sourcery repository.

Installation

composer require event-sourcery/laravel-event-sourcery-driver

Laravel will auto-detect the package and the service provider will be installed automatically.

php artisan migrate

The migrations will create database tables for the Event Store, Personal Data Store and Personal Cryptography Store.

Testing

A vagrant virtualmachine is provided for testing.

  1. Clone with submodule initialization.
  2. Make sure vagrant, virtualbox, and ansible are installed.
  3. Run the following:

vagrant up

vagrant ssh

bin/phpunit

Other Framework Support

Symfony

Coming soon.

Others?

Please create an issue on the core event-sourcery/event-sourcery with the particular framework support request.