event-sourcery / laravel-event-sourcery-driver
Laravel Driver for a Minimalistic PHP Event Sourcing / CQRS Library with GDPR Support.
Installs: 1 072
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: ^7.1
- event-sourcery/event-sourcery: dev-master
- heybigname/phpspec-laravel: ^4.0
- psr/container: 1.0.0
Requires (Dev)
- orchestra/testbench: ^3.6
- phpunit/phpunit: ^7.1
README
This is the Laravel driver for the Event Sourcery framework.
Library is under conceptual development. Do not use.
Table of Contents
Todo List
- documentation
- shrug
- 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.
- Clone with submodule initialization.
- Make sure vagrant, virtualbox, and ansible are installed.
- 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.