PHPackages                             greensight/laravel-phprdkafka-producer - 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. greensight/laravel-phprdkafka-producer

Abandoned → [ensi/laravel-phprdkafka-producer](/?search=ensi%2Flaravel-phprdkafka-producer)ArchivedLibrary[Queues &amp; Workers](/categories/queues)

greensight/laravel-phprdkafka-producer
======================================

Opiniated High Level producer for laravel-phprdkafka

0.1.0(4y ago)287MITShellPHP ^8.0

Since Oct 1Pushed 4y agoCompare

[ Source](https://github.com/greensight/laravel-php-rdkafka-producer)[ Packagist](https://packagist.org/packages/greensight/laravel-phprdkafka-producer)[ Docs](https://github.com/greensight/laravel-phprdkafka-producer)[ RSS](/packages/greensight-laravel-phprdkafka-producer/feed)WikiDiscussions master Synced 2d ago

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

Laravel PHP Rdkafka Producer
============================

[](#laravel-php-rdkafka-producer)

`Deprecated, use https://github.com/ensi-platform/laravel-php-rdkafka-producer instead`

Opiniated High Level producer for [greensight/laravel-phprdkafka](https://github.com/greensight/laravel-php-rdkafka)

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

[](#installation)

Firstly, you have to install and configure [greensight/laravel-phprdkafka](https://github.com/greensight/laravel-php-rdkafka)

Then,

```
composer require greensight/laravel-phprdkafka-producer
```

Usage
-----

[](#usage)

Send a single message:

```
use Greensight\LaravelPhpRdKafkaProducer\HighLevelProducer;

(new HighLevelProducer($topicName))->sendOne($messageString);
```

Send several messages at once:

```
(new HighLevelProducer($topicName))->sendMany([$message1String, $message2String]);
```

All options with defaults:

```
use Greensight\LaravelPhpRdKafkaProducer\HighLevelProducer;
use Greensight\LaravelPhpRdKafkaProducer\Exceptions\KafkaProducerException;

$producer = new HighLevelProducer(
    topicName: $topicName,
    producerName: 'some-producer-from-greensight/laravel-phprdkafka-config',
    flushTimeout: 5000, // ms
    flushRetries: 5,
);

try {
    $producer
        ->setFlushTimeout(10000)
        ->setFlushRetries(10)
        ->sendOne($messageString);
} catch (KafkaProducerException $e) {
    //...
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1685d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d505cd6b2551974b0c076d133fd9a3c9cd635bbf308adb17a6399bd3b63232?d=identicon)[Arrilot](/maintainers/Arrilot)

---

Top Contributors

[![arrilot](https://avatars.githubusercontent.com/u/2826480?v=4)](https://github.com/arrilot "arrilot (2 commits)")

---

Tags

laravelkafkagreensight

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/greensight-laravel-phprdkafka-producer/health.svg)

```
[![Health](https://phpackages.com/badges/greensight-laravel-phprdkafka-producer/health.svg)](https://phpackages.com/packages/greensight-laravel-phprdkafka-producer)
```

###  Alternatives

[kunalvarma05/laravel-rabbitmq

Work with RabbitMQ in Laravel.

1853.7k](/packages/kunalvarma05-laravel-rabbitmq)

PHPackages © 2026

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