定制 longlang/phpkafka 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

longlang/phpkafka

最新稳定版本:v1.2.5

Composer 安装命令:

composer require longlang/phpkafka

包简介

A kafka client. Support php-fpm and Swoole.

README 文档

README

Latest Version Php Version License

Introduction

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.

Features

  • Support all 50 APIs
  • Message compression
  • PHP-FPM and Swoole compatible
  • Producer
  • Consumer
  • SASL
  • SSL
  • More features and test cases

Environment

  • PHP >= 7.1
  • Kafka >= 1.0.0
  • Swoole >= 4.5 (optional)

Installation

composer require longlang/phpkafka

Documentation and Examples

Refer to examples for code examples.

统计信息

  • 总下载量: 2.29M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 280
  • 点击次数: 3
  • 依赖项目数: 10
  • 推荐数: 2

GitHub 信息

  • Stars: 278
  • Watchers: 8
  • Forks: 47
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固