The PHP SDK enables server-side publishing to Streaming API endpoints in real time.
The Kafkorama PHP SDK is designed for server-side applications that need to publish real-time data to Streaming API endpoints.
In Kafkorama, subjects act as the Streaming API endpoints. This SDK allows your PHP backend to send messages directly to those endpoints, enabling real-time updates to subscribed clients.
With this SDK, you can:
Note: The PHP SDK supports publishing only. For subscribing to real-time data in PHP, use the ReactPHP SDK.
This SDK is ideal for web backends, CMS platforms, or REST APIs that need to trigger real-time updates — for example, after a user action or a database change.
To get started, follow the Run with Docker guide to launch a local Kafkorama instance. Below, you’ll find installation instructions and reference documentation: