PHP Package: mateusjunges/laravel-kafka

Laravel Kafka package offering seamless integration for efficient messaging between microservices and applications.

Current Version: 2.9.0
Last Updated: 2025-08-24
PHP Requirement: ^8.2|^8.3|^8.4
Dependencies:
php-enqueue/enqueue
rdkafka/rdkafka
⚠️ 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.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.9.0

Download Download v2.9.0

Previous Versions

Code Integration Example

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.