Database Adapter implementation for the neos/eventstore package.
Note Currently this package supports MySQL (including MariaDB), PostgreSQL and SQLite.
Install via composer:
composer require sandstorm/eventstore-laraveladapterTo create a LaravelEventStore, an instance of \Illuminate\Database\Connection is required.
This can be obtained from a given DSN for example:
With that, an Event Store instance can be created:
use Sandstorm\EventStore\LaravelAdapter\LaravelEventStore;
$eventTableName = 'some_namespace_events';
$eventStore = new LaravelEventStore($connection, $eventTableName);See README of the neos/eventstore package for details on how to write and read events.
Contributions in the form of issues, pull requests or discussions are highly appreciated
# in this directory:
composer install
docker compose up -d
DB_DRIVER=mysql composer testSee LICENSE