Search by

m4t1t0 / kurrentdb-contracts

m4t1t0

Implementation-free contracts (interface, value objects, typed exceptions) for a KurrentDB PHP client.

Package info

github.com/m4t1t0/kurrentdb-contracts

pkg:composer/m4t1t0/kurrentdb-contracts

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-11-30 16:26 UTC

This package is auto-updated.

Last update: 2026-12-01 09:32:48 UTC


README

Implementation-free contracts for a KurrentDB PHP client: the frozen KurrentClientInterface, value objects (EventData, ResolvedEvent, Position, ReadOptions, ReadFilter, CallOptions), the ExpectedStreamState enum, and the typed exception set.

Nothing in this package performs I/O. Implementations live in m4t1t0/kurrentdb-client (amphp, first) and future transports behind the same interface. The interface is frozen per ADR-0005; later additions are separate capability interfaces (subscriptions, stream-metadata management).

License: MIT for this code; generated protobuf artifacts (none currently in this package) carry Apache-2.0 attribution per adr-0002.

Status: pre-1.0 scaffolding — interface frozen in design (ADR-0005), tag lands with the first release.