PHP Package: kwn/php-rdkafka-stubs

Enhance PHP code completion with php-rdkafka-stubs for seamless development

Current Version: 2.2.1
Last Updated: 2022-08-16
PHP Requirement: >=7.4
Dependencies:
kwn/php-rdkafka
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Improve your PHP development experience with php-rdkafka-stubs, a library that provides comprehensive Kafka stubs for better code completion and IDE support. By integrating these stubs, developers can streamline their workflow, boost productivity, and ensure accurate Kafka-related coding. Whether you're a beginner or an experienced developer, php-rdkafka-stubs is a valuable tool to enhance your PHP projects.

🔗 View on GitHub

Download Latest Version: 2.2.1

Download Download v2.2.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/kwn/php-rdkafka-stubs/2.2.1/loader.php';
require_once 'libs/kwn/php-rdkafka/{lib_version}/loader.php';

use Kwn\RdkafkaStubs\KafkaProducer;
use Kwn\RdkafkaStubs\KafkaConsumer;

$obj = new KafkaProducer();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.