PHPackages                             phillarmonic/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. phillarmonic/php-rdkafka-stubs

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

phillarmonic/php-rdkafka-stubs
==============================

Rdkafka extension stubs for your IDE

1.1.0(7mo ago)16.1k↓33%MITPHP

Since Jun 6Pushed 7mo agoCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

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

[](#stubs-for-php-rdkafka-extension-60-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 4.0. 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 phillarmonic/php-rdkafka-stubs --dev

```

Usage
-----

[](#usage)

Once package is installed, your IDE should simply discover all stubs automatically. Please notice, that `phillarmonic/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

37

—

LowBetter than 83% of packages

Maintenance62

Regular maintenance activity

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55.2% 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 ~107 days

Total

2

Last Release

239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b2fff0e8f2d6d892519e56d5b59fc9385d01bde2d4df45b1dd3de9174e71d64?d=identicon)[phillarmonic](/maintainers/phillarmonic)

---

Top Contributors

[![kwn](https://avatars.githubusercontent.com/u/3968616?v=4)](https://github.com/kwn "kwn (58 commits)")[![nick-zh](https://avatars.githubusercontent.com/u/3214182?v=4)](https://github.com/nick-zh "nick-zh (17 commits)")[![phillarmonkey](https://avatars.githubusercontent.com/u/162709247?v=4)](https://github.com/phillarmonkey "phillarmonkey (8 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)")[![martynaszaliaduonis](https://avatars.githubusercontent.com/u/43949022?v=4)](https://github.com/martynaszaliaduonis "martynaszaliaduonis (1 commits)")[![MortalFlesh](https://avatars.githubusercontent.com/u/6317184?v=4)](https://github.com/MortalFlesh "MortalFlesh (1 commits)")[![mweibel](https://avatars.githubusercontent.com/u/307427?v=4)](https://github.com/mweibel "mweibel (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)")[![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)")[![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)")

### Embed Badge

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

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

###  Alternatives

[jjgrainger/wp-crumbs

Simple Wordpress Breadcrumbs.

3910.9k](/packages/jjgrainger-wp-crumbs)[wantp/snowflake

A package for create unique id by snowflake

399.5k1](/packages/wantp-snowflake)

PHPackages © 2026

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