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

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

mosharaf13/laravel-kafka
========================

A kafka driver for laravel

v1.9.0(3y ago)113MITPHP ^8.0

Since Sep 12Pushed 3y agoCompare

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

READMEChangelogDependencies (8)Versions (60)Used By (0)

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

[](#laravel-kafka)

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

[![Latest Version On Packagist](https://camo.githubusercontent.com/d0e20f0ee454989937b92dc26d33432ba07e2d56a176655fce786d51d49a6591/687474703a2f2f706f7365722e707567782e6f72672f6d61746575736a756e6765732f6c61726176656c2d6b61666b612f76)](https://packagist.org/packages/mateusjunges/laravel-kafka)[![Total Downloads](https://camo.githubusercontent.com/a3113b783bfd1e6a54ce01d25438329fb8f9802cd8cc1141f383b7468a16ab9a/687474703a2f2f706f7365722e707567782e6f72672f6d61746575736a756e6765732f6c61726176656c2d6b61666b612f646f776e6c6f616473)](https://packagist.org/packages/mateusjunges/laravel-kafka)[![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)[![Check & fix styling](https://github.com/mateusjunges/laravel-kafka/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/mateusjunges/laravel-kafka/actions/workflows/php-cs-fixer.yml)[![PHP Version Require](https://camo.githubusercontent.com/53cc4e28efa462e24b5cf80733bdb2f8028bb5849a9b7c2622242d39bbdda87b/687474703a2f2f706f7365722e707567782e6f72672f6d61746575736a756e6765732f6c61726176656c2d6b61666b612f726571756972652f706870)](https://packagist.org/packages/mateusjunges/laravel-kafka)

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 syntax 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.

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

[](#documentation)

You can [find the documentations for this package here](https://junges.dev/documentation/laravel-kafka/v2/introduction)

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)

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)
- [Arquivei](https://github.com/arquivei)

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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.7% 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 ~7 days

Total

56

Last Release

1294d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48f58531a3f751bebd946ece47a308bdf9a57e03bd51636ba9ead38af012fa50?d=identicon)[mosharaf13](/maintainers/mosharaf13)

---

Top Contributors

[![mateusjunges](https://avatars.githubusercontent.com/u/19756164?v=4)](https://github.com/mateusjunges "mateusjunges (460 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 (4 commits)")[![Elnadrion](https://avatars.githubusercontent.com/u/33313896?v=4)](https://github.com/Elnadrion "Elnadrion (2 commits)")[![mosharaf13](https://avatars.githubusercontent.com/u/12990839?v=4)](https://github.com/mosharaf13 "mosharaf13 (2 commits)")[![nmfzone](https://avatars.githubusercontent.com/u/10361906?v=4)](https://github.com/nmfzone "nmfzone (2 commits)")[![lukecurtis93](https://avatars.githubusercontent.com/u/26925537?v=4)](https://github.com/lukecurtis93 "lukecurtis93 (1 commits)")[![shanginn](https://avatars.githubusercontent.com/u/3357943?v=4)](https://github.com/shanginn "shanginn (1 commits)")[![StounhandJ](https://avatars.githubusercontent.com/u/58305548?v=4)](https://github.com/StounhandJ "StounhandJ (1 commits)")[![HarryLee186](https://avatars.githubusercontent.com/u/34167106?v=4)](https://github.com/HarryLee186 "HarryLee186 (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)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[mateusjunges/laravel-kafka

A kafka driver for laravel

7163.1M17](/packages/mateusjunges-laravel-kafka)[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)

PHPackages © 2026

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