English | 简体中文
PHP Kafka client is used in PHP-FPM and Swoole.
The communication protocol is based on the JSON file in Java. PHP Kafka client supports 50 APIs, which might be one that supports the most message types ever.
The produce and the consume of messages are implemented. The component is in developing and testing.
composer require longlang/phpkafka
Refer to examples
for code examples.