PHP

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:

  • Connect to a Kafkorama Gateway cluster
  • Publish real-time messages to one or more subjects
  • Integrate real-time publishing into existing PHP applications
  • Use in synchronous PHP environments (non-reactive)

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:

© 2025 MigratoryData. All rights reserved.