PHPackages                             lcobucci/kafka - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. lcobucci/kafka

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

lcobucci/kafka
==============

PHP client for Kafka

0.1.x-dev(1y ago)5884[9 issues](https://github.com/lcobucci/kafka/issues)[6 PRs](https://github.com/lcobucci/kafka/pulls)MITPHPCI failing

Since Dec 16Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/lcobucci/kafka)[ Packagist](https://packagist.org/packages/lcobucci/kafka)[ GitHub Sponsors](https://github.com/lcobucci)[ Patreon](https://www.patreon.com/lcobucci)[ RSS](/packages/lcobucci-kafka/feed)WikiDiscussions 0.1.x Synced 4d ago

READMEChangelogDependencies (12)Versions (9)Used By (0)

PHP Kafka client
================

[](#php-kafka-client)

[![Total Downloads](https://camo.githubusercontent.com/17f815f5224e9d8c14c77fa13440d2f7ecd12a9703f138a6d7f0364039c83da5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c636f62756363692f6b61666b612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lcobucci/kafka)[![Latest Stable Version](https://camo.githubusercontent.com/315e8f07e6880ad1291c371b7fc0766a7359e0b3d0a317eb91e9f6d281b22e5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c636f62756363692f6b61666b612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lcobucci/kafka)[![Unstable Version](https://camo.githubusercontent.com/c1520135aa0685a0faf136cd066560ba66f08fcfc96902cae52f205f24e62fb6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6c636f62756363692f6b61666b612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lcobucci/kafka)

[![Build Status](https://camo.githubusercontent.com/44dd0ac37d0c32ba9400d579079588d7387687d365984d64d6a21f0b35cf0a68/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6c636f62756363692f6b61666b612f504850556e697425323074657374732f302e312e783f7374796c653d666c61742d737175617265)](https://github.com/lcobucci/kafka/actions?query=workflow%3A%22PHPUnit%20Tests%22+branch%3A0.1.x)[![Code Coverage](https://camo.githubusercontent.com/f8b0e96e3ef31f4df7189c741e7d210ae3b2ebcaf88a579bde1d9fbab71299ed/68747470733a2f2f636f6465636f762e696f2f67682f6c636f62756363692f6b61666b612f6272616e63682f302e312e782f67726170682f62616467652e737667)](https://codecov.io/gh/lcobucci/kafka)

A library to allow people to communicate to Kafka using plain PHP, compatible with Kafka **v0.11+** (due to the way the [protocol works](https://kafka.apache.org/protocol)).

Installation
------------

[](#installation)

Package is available on [Packagist](http://packagist.org/packages/lcobucci/kafka), you can install it using [Composer](http://getcomposer.org).

```
composer require lcobucci/kafka
```

### Dependencies

[](#dependencies)

- PHP 8.0+ (**64-bit only**)

Documentation
-------------

[](#documentation)

### Architectural decisions

[](#architectural-decisions)

This project uses [ADRs](https://github.com/npryce/adr-tools) to record all architectural decisions. The summary can be found [here](docs/architecture-decisions/README.md).

License
-------

[](#license)

MIT, see [LICENSE](LICENSE).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance61

Regular maintenance activity

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

542d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/201963?v=4)[Luís Cobucci](/maintainers/lcobucci)[@lcobucci](https://github.com/lcobucci)

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (202 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (197 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (124 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (120 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (115 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lcobucci-kafka/health.svg)

```
[![Health](https://phpackages.com/badges/lcobucci-kafka/health.svg)](https://phpackages.com/packages/lcobucci-kafka)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k822.4M6.8k](/packages/symfony-http-kernel)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[gos/web-socket-bundle

Symfony Web Socket Bundle

6202.2M8](/packages/gos-web-socket-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
