Documentation
Everything you need to know about Genesis DB.
PHP SDK
Official Genesis DB Client for PHP

Getting Started

This SDK gives you seamless access to Genesis DB from any PHP 8.1+ environment. Stream events, commit new ones, observe events and query events - all over a simple HTTP interface. Fully type-safe, zero boilerplate, and CloudEvents-native. This SDK gets out of your way and lets you focus on the event-driven logic that matters.

Installation

To install the SDK, run the following command:

Neos Flow Wrapper

To use the SDK with Neos Flow, you can use the following wrapper. For more information, see the this repository.

Usage

To use the SDK, you need to create a client and connect to the Genesis DB instance. The client will handle the connection and the authentication.

Instantiate the client

Commit Events

Stream Events

Observe Events

Query Events