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

ActiveLibrary[Queues &amp; Workers](/categories/queues)

glushkovds/laravel-kafka-queue
==============================

Laravel Kafka Queue Driver

v0.1.3(2y ago)23.5k↓50%1MITPHPPHP ^8.0

Since Oct 6Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Kafka Queue Driver
==========================

[](#laravel-kafka-queue-driver)

Features
--------

[](#features)

1. Supports delayed jobs
2. Supports retries
3. Supports Laravel 10
4. Supports authorization

Attention
---------

[](#attention)

The code this library is still dirty, there is no stable version. Use it at your own risk. Follow the updates, suggest yours.

Thanks to
---------

[](#thanks-to)

-  - sources, it seems this lib is abandoned
-  - delayed jobs, docker environment

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

[](#installation)

1. Build and install librdkafka library, install pecl extension rdkafka

```
ENV LIBRDKAFKA_VERSION "v2.2.0"
RUN cd /tmp \
    && mkdir librdkafka \
    && cd librdkafka \
    && git clone --branch ${LIBRDKAFKA_VERSION} --depth 1 https://github.com/confluentinc/librdkafka.git . \
    && ./configure \
    && make \
    && make install \
    && rm -rf /tmp/librdkafka
RUN pecl install rdkafka
RUN docker-php-ext-enable rdkafka
```

2. Install this package via composer using

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

3. Add service provider to `app.php`

```
LaravelKafka\KafkaQueueServiceProvider::class
```

4. Add Kafka's connection to `queue.php` config

```
'kafka' => [
    'driver' => 'kafka',
    'broker_list' => env('KAFKA_BROKER_LIST', 'kafka:9092'),
    'queue' => env('KAFKA_QUEUE', 'default'),
    'heartbeat' => 5 * 1000, //Heartbeat in milliseconds
    'group_name' => env('KAFKA_QUEUE_GROUP', 'default'),
    'producer_timeout' => 1 * 1000, //Producer timeout in milliseconds
    'consumer_timeout' => 3 * 1000, //Consumer timeout in milliseconds
    'auth_login' => env('KAFKA_AUTH_LOGIN'),
    'auth_mechanism' => env('KAFKA_AUTH_MECHANISM', 'PLAIN'),
    'auth_password' => env('KAFKA_AUTH_PASSWORD'),
    'auth_ssl_ca_location' => env('KAFKA_AUTH_SSL_CA_LOCATION'),
],
```

5. Add credentials to `.env` file

```
KAFKA_BROKER_LIST=kafka1:9092,kafka2:9093
KAFKA_QUEUE=my-queue
KAFKA_QUEUE_GROUP=my-app
KAFKA_AUTH_LOGIN=
KAFKA_AUTH_PASSWORD=

```

### More about pecl extension rdkafka

[](#more-about-pecl-extension-rdkafka)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 72.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

Unknown

Total

1

Last Release

948d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c9d6b042523ed95a3becf0be5153841aabdedb17515aa83057fa5f0701c4dee?d=identicon)[glushkovds](/maintainers/glushkovds)

---

Top Contributors

[![glushkovds](https://avatars.githubusercontent.com/u/35626465?v=4)](https://github.com/glushkovds "glushkovds (8 commits)")[![lukaszaleckas](https://avatars.githubusercontent.com/u/47445386?v=4)](https://github.com/lukaszaleckas "lukaszaleckas (3 commits)")

---

Tags

phplaravelqueuekafka

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[mpbarlow/laravel-queue-debouncer

A wrapper job for debouncing other queue jobs.

63714.4k1](/packages/mpbarlow-laravel-queue-debouncer)[renoki-co/horizon-exporter

Export Laravel Horizon metrics using this Prometheus exporter.

24152.7k](/packages/renoki-co-horizon-exporter)[webparking/laravel-queue-ensurer

This composer package provides a Laravel queue ensurer.

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

3233.0k](/packages/convenia-pigeon)

PHPackages © 2026

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