PHPackages                             laravel-tool/kafka-queue - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. laravel-tool/kafka-queue

ActiveLaravel-plugin[Queues &amp; Workers](/categories/queues)

laravel-tool/kafka-queue
========================

Laravel Kafka Queue driver with Horizon support

1.3.1(9mo ago)41981MITPHPPHP ^8.3

Since Apr 20Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/laravel-tool/kafka-queue)[ Packagist](https://packagist.org/packages/laravel-tool/kafka-queue)[ RSS](/packages/laravel-tool-kafka-queue/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

kafka-queue
===========

[](#kafka-queue)

Laravel Kafka Queue connection with Horizon support

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

[](#installation)

### 1. Composer

[](#1-composer)

```
composer require laravel-tool/kafka-queue
```

### 2. Add to config/queue.php

[](#2-add-to-configqueuephp)

```
'kafka' => [
    'driver' => 'kafka',
    'broker_list' => env('KAFKA_BROKER_LIST', 'kafka:9092'),
    'auth' => [
        'enable' => env('KAFKA_AUTH_ENABLE', false),
        'mechanism' => env('KAFKA_AUTH_MECHANISM', 'PLAIN'),
        'username' => env('KAFKA_AUTH_USERNAME'),
        'password' => env('KAFKA_AUTH_PASSWORD'),
        'ssl_ca_location' => env('KAFKA_AUTH_SSL_CA_LOCATION'),
    ],
    'queue' => env('KAFKA_QUEUE', 'default'),
    'heartbeat_ms' => env('KAFKA_HEARTBEAT', 5000),
    'group_name' => env('KAFKA_QUEUE_GROUP', 'default'),
    'producer_timeout_ms' => 1000,
    'consumer_timeout_ms' => 3000,
    'queue_disable_length' => false, // Disable this if trouble with performance
    'horizon' => true, // Support for Laravel Horizon
    'after_commit' => false,
],
```

Caution
-------

[](#caution)

> It is not recommended to use it with delayed tasks due to the way Kafka works. When a deferred task reaches the execution time, it is again placed at the end of the queue and so on until the moment when it is allowed to be executed.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance57

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Total

5

Last Release

285d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a6ea7bc9f23e4e1d442021cffe2fe9b4db363c999e00f67ea81bef86c45069f?d=identicon)[mxp100](/maintainers/mxp100)

---

Top Contributors

[![mxp100](https://avatars.githubusercontent.com/u/8124083?v=4)](https://github.com/mxp100 "mxp100 (12 commits)")

---

Tags

phplaravelqueuehorizonkafka

### Embed Badge

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

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

###  Alternatives

[renoki-co/horizon-exporter

Export Laravel Horizon metrics using this Prometheus exporter.

24152.7k](/packages/renoki-co-horizon-exporter)[mpbarlow/laravel-queue-debouncer

A wrapper job for debouncing other queue jobs.

63714.4k1](/packages/mpbarlow-laravel-queue-debouncer)[webparking/laravel-queue-ensurer

This composer package provides a Laravel queue ensurer.

6416.1k](/packages/webparking-laravel-queue-ensurer)

PHPackages © 2026

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