2017 © Pedro Peláez
 

library event-store-flywheel-adapter

Flywheel Adapter for ProophEventStore

image

prooph/event-store-flywheel-adapter

Flywheel Adapter for ProophEventStore

  • Sunday, May 8, 2016
  • by prooph
  • Repository
  • 5 Watchers
  • 7 Stars
  • 59 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 3 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Flywheel Adapter for ProophEventStore

Build Status Coverage Status Gitter, (*1)

Use Prooph Event Store with Flywheel., (*2)

Overview

Flywheel is a serverless document database which only uses flat files on your local filesystem to store the data. All the events will be stored and loaded from a choosen directory. This is well suited when you bootstrap an application and you don't need a real database server right away. It can also be a good candidate for writing functionnal tests., (*3)

But of course you must not run it in production since it is not designed to handle a huge amount of events and doesn't manage transactions., (*4)

Installation

You can install this package via Composer:, (*5)

composer require prooph/event-store-flywheel-adapter

Usage

See the quickstart example., (*6)

It creates some events and store them in JSON files in the quickstart/event_store directory. Here is an example of a created JSON file:, (*7)

{
    "event_id": "4e5bba37-e2bb-46d3-9988-e2ec6b02e664",
    "version": 1,
    "event_name": "ProophTest\\EventStore\\Mock\\UserCreated",
    "payload": {
        "name": "Max Mustermann"
    },
    "metadata": {
        "tag": "person"
    },
    "created_at": "2016-02-25T13:28:54.365200"
}

Support

Contribute

Please feel free to fork, extend existing and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes. You are also encouraged to use the composer lint command to validate the coding standards., (*8)

License

Released under the New BSD License., (*9)

The Versions