Download the PHP package nirmalsharma/laravel-kafka-php without Composer
On this page you can find all versions of the php package nirmalsharma/laravel-kafka-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-kafka-php
A Lightweight Kafka wrapper for Laravel 6+ and PHP 7.3+
Install Kafka wrapper
Examples
Laravel 6
Use Kafka producer in code.
Add following in web.php
Use Kafka consumer in code.
KafkaConsumer code for console
To start listening messages by run following command:
You can use KafkaConsumerException for business logic or consumer handler logic to send message forcefully in DLQ
Environment Variables
To run this, you will need to add the following environment variables to your .env file Config reference: https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
Authors
License
Features
- Light weight kakfa wrapper
- Easy to produce kafka event and consume in php.
All versions of laravel-kafka-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package nirmalsharma/laravel-kafka-php contains the following files
Loading the files please wait ....