⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
Laravel Kafka is a comprehensive PHP library that simplifies Kafka integration into Laravel applications, enabling robust communication between services. By leveraging Kafka's distributed messaging system, developers gain scalability, fault tolerance, and real-time data processing capabilities. The library provides streamlined configuration, convenient producer and consumer APIs, and extensive documentation for seamless implementation.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/mateusjunges/laravel-kafka/2.9.0/loader.php';
require_once 'libs/php-enqueue/enqueue/0.10.26/loader.php';
require_once 'libs/rdkafka/rdkafka/{lib_version}/loader.php';
use MateusJunges\LaravelKafka\KafkaManager;
use Enqueue\RdKafka\RdKafkaContext;
$obj = new KafkaManager();
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.