PHPackages                             kwn/php-rdkafka-stubs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kwn/php-rdkafka-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kwn/php-rdkafka-stubs
=====================

Rdkafka extension stubs for your IDE

v3.0.0(5mo ago)1504.0M—4.2%35[3 issues](https://github.com/kwn/php-rdkafka-stubs/issues)[1 PRs](https://github.com/kwn/php-rdkafka-stubs/pulls)20MITPHP

Since Apr 12Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/kwn/php-rdkafka-stubs)[ Packagist](https://packagist.org/packages/kwn/php-rdkafka-stubs)[ RSS](/packages/kwn-php-rdkafka-stubs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (30)Used By (20)

Stubs for PHP Rdkafka extension (6.0.4 version)
===============================================

[](#stubs-for-php-rdkafka-extension-604-version)

[![Build Status](https://camo.githubusercontent.com/e0b36b6c2c72feaa3a34105ae4ccb10954adb6f49ac1418c020f0bdddf8fef75/68747470733a2f2f7472617669732d63692e6f72672f6b776e2f7068702d72646b61666b612d73747562732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kwn/php-rdkafka-stubs)[![Latest Stable Version](https://camo.githubusercontent.com/f365309e01d519cd59160b972bfa9cbd7a8ba55b12d25e476b783a0e35d51796/68747470733a2f2f706f7365722e707567782e6f72672f6b776e2f7068702d72646b61666b612d73747562732f762f737461626c65)](https://packagist.org/packages/kwn/php-rdkafka-stubs)

This package provides you a set of stubs for [RdKafka extension](https://github.com/arnaud-lb/php-rdkafka). It currently supports version &gt;6. For older verisions of rdkafka extenstion (3.x and 0.9) please use version 1.x of this repository.

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

[](#installation)

Add package to your composer.json dev dependencies

```
$ composer require kwn/php-rdkafka-stubs --dev

```

Usage
-----

[](#usage)

Once package is installed, your IDE should simply discover all stubs automatically. Please notice, that `kwn/php-rdkafka-stubs`package has no autoloader configuration provided, so stubs classes are visible in your IDE, but don't clashes with `rdkafka`extension namespaces.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance81

Actively maintained with recent releases

Popularity60

Solid adoption and visibility

Community39

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

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

Recently: every ~399 days

Total

29

Last Release

173d ago

Major Versions

0.0.5 → 1.0.02017-01-15

1.3.1 → 2.0.02019-10-22

v2.2.1 → v3.0.02025-11-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3968616?v=4)[Karol Wnuk](/maintainers/kwn)[@kwn](https://github.com/kwn)

---

Top Contributors

[![kwn](https://avatars.githubusercontent.com/u/3968616?v=4)](https://github.com/kwn "kwn (59 commits)")[![nick-zh](https://avatars.githubusercontent.com/u/3214182?v=4)](https://github.com/nick-zh "nick-zh (17 commits)")[![KmeCnin](https://avatars.githubusercontent.com/u/6616300?v=4)](https://github.com/KmeCnin "KmeCnin (4 commits)")[![beriba](https://avatars.githubusercontent.com/u/1760701?v=4)](https://github.com/beriba "beriba (2 commits)")[![joegreen88](https://avatars.githubusercontent.com/u/1363420?v=4)](https://github.com/joegreen88 "joegreen88 (2 commits)")[![KonstantinCodes](https://avatars.githubusercontent.com/u/844484?v=4)](https://github.com/KonstantinCodes "KonstantinCodes (1 commits)")[![kswzr](https://avatars.githubusercontent.com/u/31246037?v=4)](https://github.com/kswzr "kswzr (1 commits)")[![martynaszaliaduonis](https://avatars.githubusercontent.com/u/43949022?v=4)](https://github.com/martynaszaliaduonis "martynaszaliaduonis (1 commits)")[![mweibel](https://avatars.githubusercontent.com/u/307427?v=4)](https://github.com/mweibel "mweibel (1 commits)")[![savinmikhail](https://avatars.githubusercontent.com/u/99592925?v=4)](https://github.com/savinmikhail "savinmikhail (1 commits)")[![sFreezer](https://avatars.githubusercontent.com/u/19152174?v=4)](https://github.com/sFreezer "sFreezer (1 commits)")[![silentgecko](https://avatars.githubusercontent.com/u/7657301?v=4)](https://github.com/silentgecko "silentgecko (1 commits)")[![sokil](https://avatars.githubusercontent.com/u/1829948?v=4)](https://github.com/sokil "sokil (1 commits)")[![svnldwg](https://avatars.githubusercontent.com/u/37910952?v=4)](https://github.com/svnldwg "svnldwg (1 commits)")[![athaden](https://avatars.githubusercontent.com/u/15030427?v=4)](https://github.com/athaden "athaden (1 commits)")[![tony-sol](https://avatars.githubusercontent.com/u/33671815?v=4)](https://github.com/tony-sol "tony-sol (1 commits)")[![bdurkovic](https://avatars.githubusercontent.com/u/28602480?v=4)](https://github.com/bdurkovic "bdurkovic (1 commits)")[![Bibob7](https://avatars.githubusercontent.com/u/4511770?v=4)](https://github.com/Bibob7 "Bibob7 (1 commits)")[![damianwadley](https://avatars.githubusercontent.com/u/13546517?v=4)](https://github.com/damianwadley "damianwadley (1 commits)")[![Fahrenholz](https://avatars.githubusercontent.com/u/7955008?v=4)](https://github.com/Fahrenholz "Fahrenholz (1 commits)")

---

Tags

idekafkaphprdkafka-extensionstub

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kwn-php-rdkafka-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/kwn-php-rdkafka-stubs/health.svg)](https://phpackages.com/packages/kwn-php-rdkafka-stubs)
```

###  Alternatives

[nikaia/nova-rating-field

Add start rating field to Laravel Nova

42258.6k](/packages/nikaia-nova-rating-field)[iamntz/carbon-fields-urlpicker

Carbon Fields extension that adds a URL picker field type.

1438.6k](/packages/iamntz-carbon-fields-urlpicker)

PHPackages © 2026

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