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

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

rossel/rossel-kafka
===================

A ready-to-use PHP library for seamless communication with Rossel's Kafka infrastructure, handling both production and consumption of messages.

0.2.0(2mo ago)1175↓38.9%[3 PRs](https://github.com/Rossel-Applications/rossel-kafka/pulls)PHPPHP &gt;= 8.2

Since Mar 26Pushed 1mo agoCompare

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

READMEChangelogDependencies (12)Versions (19)Used By (0)

Rossel Kafka
============

[](#rossel-kafka)

A ready-to-use PHP library for seamless communication with Rossel's Kafka infrastructure, handling both production and consumption of messages.

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

[](#installation)

```
composer require rossel/rossel-kafka
```

Configuration
-------------

[](#configuration)

### Bundle configuration

[](#bundle-configuration)

```
rossel_kafka:
  broker_url: %env(KAFKA_BROKER_URL)%
```

### Broker configuration (docker)

[](#broker-configuration-docker)

// WIP

Usage
-----

[](#usage)

### Send a message to a topic

[](#send-a-message-to-a-topic)

#### Without Symfony Dependency Injection

[](#without-symfony-dependency-injection)

```
use Rossel\RosselKafka\Service\Connector\KafkaConnector;
use Rossel\RosselKafka\Enum\Infrastructure\KafkaTopic;
use Rossel\RosselKafka\Model\Message;
use Rossel\RosselKafka\Model\MessageHeaders;
use Rossel\RosselKafka\Enum\MessageHeaders\Area;

$kafkaConnector = new KafkaConnector(
    brokerUrl: 'localhost:9092',
);

$message = new Message(
    headers: new Rossel\RosselKafka\Model\MessageHeaders(
        area: Area::FRANCE,
        from: 'my-app',
        messageType: \Rossel\RosselKafka\Enum\MessageHeaders\MessageType::SYNC_B2C_ERP_SUBSCRIPTION,
    ),
    body: [
        'foo' => 'bar',
    ],
)

$kafkaConnector->send(KafkaTopic::SYNC_ERP, $message);
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance87

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Every ~32 days

Recently: every ~5 days

Total

12

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99080b73924a13746173fcd36050fee532ffbdf5a31982d2553b074f374eeaad?d=identicon)[rossel](/maintainers/rossel)

---

Top Contributors

[![fvaneste-rossel](https://avatars.githubusercontent.com/u/182863927?v=4)](https://github.com/fvaneste-rossel "fvaneste-rossel (16 commits)")

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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