PHPackages                             mateusjunges/laravel-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. mateusjunges/laravel-kafka

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

mateusjunges/laravel-kafka
==========================

A kafka driver for laravel

v2.11.0(2mo ago)7163.1M—3.4%103[3 issues](https://github.com/mateusjunges/laravel-kafka/issues)[1 PRs](https://github.com/mateusjunges/laravel-kafka/pulls)16MITPHPPHP ^8.2|^8.3|^8.4|^8.5CI passing

Since Sep 12Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/mateusjunges/laravel-kafka)[ Packagist](https://packagist.org/packages/mateusjunges/laravel-kafka)[ GitHub Sponsors](https://github.com/mateusjunges)[ RSS](/packages/mateusjunges-laravel-kafka/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (19)Versions (114)Used By (16)

Laravel Kafka
=============

[](#laravel-kafka)

[![art/laravel-kafka.png](art/laravel-kafka.png)](art/laravel-kafka.png)

[![Packagist Version](https://camo.githubusercontent.com/f39b1d3760c421ae088c7b56ec0aa4b7c0d2a398ffb4a433656da9e52902a22e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746575736a756e6765732f6c61726176656c2d6b61666b613f6c6162656c3d4c617465737425323076657273696f6e2532306f6e2532305061636b6167697374)](https://camo.githubusercontent.com/f39b1d3760c421ae088c7b56ec0aa4b7c0d2a398ffb4a433656da9e52902a22e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746575736a756e6765732f6c61726176656c2d6b61666b613f6c6162656c3d4c617465737425323076657273696f6e2532306f6e2532305061636b6167697374)[![Packagist Downloads](https://camo.githubusercontent.com/65e30b39a75d2f743ab213e792175edd978b158b08e2acedb5f7e502fb7d188d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61746575736a756e6765732f6c61726176656c2d6b61666b613f7374796c653d666c6174266c6162656c3d546f74616c253230446f776e6c6f616473)](https://camo.githubusercontent.com/65e30b39a75d2f743ab213e792175edd978b158b08e2acedb5f7e502fb7d188d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61746575736a756e6765732f6c61726176656c2d6b61666b613f7374796c653d666c6174266c6162656c3d546f74616c253230446f776e6c6f616473)[![MIT Licensed](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)[![Continuous Integration](https://github.com/mateusjunges/laravel-kafka/actions/workflows/run-tests.yml/badge.svg)](https://github.com/mateusjunges/laravel-kafka/actions/workflows/run-tests.yml)

Do you use Kafka in your laravel projects? All packages I've seen until today, including some built by myself, does not provide a nice usage syntax or, if it does, the test process with these packages are very painful.

This package provides a nice way of producing and consuming kafka messages in your Laravel projects.

Sponsor my work!
================

[](#sponsor-my-work)

If you think this package helped you in any way, you can sponsor me on GitHub!

[![Sponsor Me](art/sponsor.png)](https://github.com/sponsors/mateusjunges)

- My personal website:
- Follow me on Twitter:
- Follow me on Bluesky:

Documentation
=============

[](#documentation)

You can [find the documentations for this package here](https://laravelkafka.com/)

Testing
=======

[](#testing)

Run `composer test` to test this package.

Contributing
============

[](#contributing)

Thank you for considering contributing for the Laravel Kafka package! The contribution guide can be found [here](.github/CONTRIBUTING.md).

Credits
=======

[](#credits)

- [Mateus Junges](https://twitter.com/mateusjungess)

License
=======

[](#license)

The Laravel Kafka package is open-sourced software licenced under the [MIT](https://opensource.org/licenses/MIT) License. Please see the [License File](LICENSE) for more information.

###  Health Score

73

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity66

Solid adoption and visibility

Community40

Growing community involvement

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.5% of commits — single point of failure

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

Every ~14 days

Recently: every ~6 days

Total

112

Last Release

74d ago

Major Versions

v1.13.12 → v2.0.02024-03-12

v1.13.13 → v2.3.02024-10-06

v1.13.x-dev → v2.5.22025-04-10

v2.9.0 → 3.x-dev2025-09-11

PHP version history (6 changes)v1.0.0PHP ^8.0

v1.10.0PHP ^8.1|^8.2

v2.0.0PHP ^8.2|^8.3

v2.5.0PHP ^8.2|^8.3|^8.4

3.x-devPHP ^8.3|^8.4

v2.11.0PHP ^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19756164?v=4)[Mateus Junges](/maintainers/mateusjunges)[@mateusjunges](https://github.com/mateusjunges)

---

Top Contributors

[![mateusjunges](https://avatars.githubusercontent.com/u/19756164?v=4)](https://github.com/mateusjunges "mateusjunges (728 commits)")[![thetomcake](https://avatars.githubusercontent.com/u/8020418?v=4)](https://github.com/thetomcake "thetomcake (9 commits)")[![rtuin](https://avatars.githubusercontent.com/u/360150?v=4)](https://github.com/rtuin "rtuin (6 commits)")[![gajosu](https://avatars.githubusercontent.com/u/7597189?v=4)](https://github.com/gajosu "gajosu (5 commits)")[![sash](https://avatars.githubusercontent.com/u/45210?v=4)](https://github.com/sash "sash (4 commits)")[![cragonnyunt](https://avatars.githubusercontent.com/u/33210614?v=4)](https://github.com/cragonnyunt "cragonnyunt (3 commits)")[![ebrahimradi](https://avatars.githubusercontent.com/u/5802975?v=4)](https://github.com/ebrahimradi "ebrahimradi (3 commits)")[![mihaileu](https://avatars.githubusercontent.com/u/54336101?v=4)](https://github.com/mihaileu "mihaileu (2 commits)")[![Elnadrion](https://avatars.githubusercontent.com/u/33313896?v=4)](https://github.com/Elnadrion "Elnadrion (2 commits)")[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (2 commits)")[![nmfzone](https://avatars.githubusercontent.com/u/10361906?v=4)](https://github.com/nmfzone "nmfzone (2 commits)")[![hauke-d](https://avatars.githubusercontent.com/u/15606289?v=4)](https://github.com/hauke-d "hauke-d (2 commits)")[![shanginn](https://avatars.githubusercontent.com/u/3357943?v=4)](https://github.com/shanginn "shanginn (1 commits)")[![slushpuppy](https://avatars.githubusercontent.com/u/1729407?v=4)](https://github.com/slushpuppy "slushpuppy (1 commits)")[![smortexa](https://avatars.githubusercontent.com/u/47121888?v=4)](https://github.com/smortexa "smortexa (1 commits)")[![StounhandJ](https://avatars.githubusercontent.com/u/58305548?v=4)](https://github.com/StounhandJ "StounhandJ (1 commits)")[![tavsec](https://avatars.githubusercontent.com/u/31708774?v=4)](https://github.com/tavsec "tavsec (1 commits)")[![vitorhugoro1](https://avatars.githubusercontent.com/u/11232497?v=4)](https://github.com/vitorhugoro1 "vitorhugoro1 (1 commits)")[![vsvp21](https://avatars.githubusercontent.com/u/29223155?v=4)](https://github.com/vsvp21 "vsvp21 (1 commits)")[![yeknava](https://avatars.githubusercontent.com/u/4211913?v=4)](https://github.com/yeknava "yeknava (1 commits)")

---

Tags

kafkalaravelmessagephp

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[tomschlick/laravel-http2-server-push

A middleware package for Laravel to enable server push for your script, style, and image assets.

16467.2k](/packages/tomschlick-laravel-http2-server-push)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)

PHPackages © 2026

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