kwn / php-rdkafka-stubs
Rdkafka extension stubs for your IDE
Installs: 3 698 197
Dependents: 57
Suggesters: 5
Security: 0
Stars: 148
Watchers: 3
Forks: 34
Open Issues: 4
pkg:composer/kwn/php-rdkafka-stubs
Requires
- ext-rdkafka: >=6.0
Requires (Dev)
- phpunit/phpunit: ^8.2.4
README
This package provides you a set of stubs for RdKafka extension. It currently supports version >6. 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.