Download the PHP package eventdbx/eventdbx-php without Composer
On this page you can find all versions of the php package eventdbx/eventdbx-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package eventdbx-php
EventDBX PHP SDK (native)
This SDK talks to the EventDBX control socket directly over Cap'n Proto + Noise via a small Rust native library exposed through PHP FFI.
Build the native library
The compiled library will land in native/target/release:
- macOS:
libeventdbx_php_native.dylib - Linux:
libeventdbx_php_native.so - Windows:
eventdbx_php_native.dll
If you prefer a debug build, use cargo build and point the PHP loader at
native/target/debug.
PHP usage
All client methods return associative arrays decoded from the JSON responses:
list:{ items: [...], nextCursor: string|null }events:{ items: [...], nextCursor: string|null }get:{ found: bool, aggregate: mixed }select:{ found: bool, selection: mixed }create:{ aggregate: mixed }apply/patch:{ event: mixed }archive/restore:{ aggregate: mixed }verify:{ merkleRoot: string }createSnapshot:{ snapshot: mixed }listSnapshots:{ items: [...snapshot rows...] }getSnapshot:{ found: bool, snapshot: mixed }
Requirements
- PHP 8.1+ with the
ffiextension enabled. - Rust toolchain to build the native library.
- Access to an EventDBX control endpoint and token.
All versions of eventdbx-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-ffi Version *
ext-ffi Version *
The package eventdbx/eventdbx-php contains the following files
Loading the files please wait ...