Rdkafka extension stubs for your IDE

1.3.0 2019-07-04 20:53 UTC


Build Status Latest Stable Version

This package provides you a set of stubs for RdKafka extension. It currently supports version 3.1 but it should most likely work with previous versions (>= 0.9.1).


Add package to your composer.json

    "require-dev": {
        "kwn/php-rdkafka-stubs": "~1.3.0"

And update your vendors

$ composer update kwn/php-rdkafka-stubs


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.