wwwision / dcb-eventstore-umadb-grpc
UmaDB adapter (gRPC) for the Dynamic Consistency Boundary implementation
Package info
github.com/bwaidelich/dcb-eventstore-umadb-grpc
Type:package
pkg:composer/wwwision/dcb-eventstore-umadb-grpc
Requires
- php: >=8.4
- ext-grpc: *
- google/protobuf: ^4.33
- grpc/grpc: ^1.74
- guzzlehttp/guzzle: ^7
- psr/clock: ^1.0
- webmozart/assert: ^1.11
- wwwision/dcb-eventstore: ^5
Requires (Dev)
- brianium/paratest: ^7
- phpstan/phpstan: ^2
- phpunit/phpunit: ^12
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^4.0.x-dev
- testcontainers/testcontainers: 1.0.3
This package is auto-updated.
Last update: 2026-07-21 11:40:10 UTC
README
UmaDB adapter for the Dynamic Consistency Boundary implementation.
Usage
Important
This adapter targets the UmaDB gRPC API as of UmaDB v0.6.6 and requires a UmaDB server running that version or newer.
Since v0.6.6, event metadata is stored in UmaDB's native metadata field, so event stores written with older versions of this adapter are not backwards-compatible and need to be re-created or migrated.
Install via composer:
composer require wwwision/dcb-eventstore-umadb-grpc
Create instance
use Wwwision\DCBEventStoreUmaDbGrpc\UmaDbEventStore; $eventStore = UmaDbEventStore::create('127.0.0.1:50051');
Specify api key / CA certificate
UmaDB can be used with TLS and API Key:
use Wwwision\DCBEventStoreUmaDbGrpc\UmaDbEventStore; $eventStore = UmaDbEventStore::create( hostname: '127.0.0.1:50051', apiKey: 'secret', caPath: '/path/to/certificate.pem', );
See wwwision/dcb-eventstore for more details and usage examples
Note
This package communicates with UmaDB via gRPC and requires the gRPC PHP extension (ext-grpc) to be installed
See wwwision/dcb-eventstore-umadb for a version that uses the custom UmaDB PHP extension instead
Contribution
Contributions in the form of issues or pull requests are highly appreciated
License
See LICENSE