PhpDev.App
kwn/php-rdkafka-stubs

kwn/php-rdkafka-stubs

Stars: 139

Forks: 32

Pull Requests: 40

Issues: 9

Watchers: 4

Last Updated: 2023-03-11 19:49:15

Rdkafka extension stubs for your IDE. Always compatibile with the latest php-rdkafka version.

License: MIT License

Languages: PHP, Makefile

Stubs for PHP Rdkafka extension (4.0 version)

Build Status Latest Stable Version

This package provides you a set of stubs for RdKafka extension. 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

Add package to your composer.json dev dependencies

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

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.