Skip to content

Alternatives

RdKafka Extension

The PHP Extension rdkafka (github) uses librdkafka for binding. This is the best known Kafka client implementation for PHP. It is maintained by Arnaud Le Blanc.

It currently does not support features like the Admin Client and Mock Cluster.

Note

The RdKafka FFI library supports the same interfaces like this extension.

Simple Kafka Client Extension

The PHP Extension simple_kafka_client (github) uses librdkafka for binding. This implementation focuses on simplicity. It is maintained by Nikazu Tenaka.

More resources around PHP & Kafka can be found at https://github.com/php-kafka.