Download the PHP package tasmidur/kafka-monolog-handler without Composer
On this page you can find all versions of the php package tasmidur/kafka-monolog-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tasmidur/kafka-monolog-handler
More information about tasmidur/kafka-monolog-handler
Files in tasmidur/kafka-monolog-handler
Package kafka-monolog-handler
Short Description Kafka Monolog Handler is used for pushing laravel log into the Kafka message broker
License MIT
Homepage https://github.com/tasmidur/kafka-monolog-handler
Informations about the package kafka-monolog-handler
Kafka Monolog Handler
The "kafka-monolog-handler" package is a package for Laravel framework. This package allows you to send your Laravel application's log messages to a Kafka server using Monolog, a popular logging library for PHP.
The package provides a handler for Monolog that sends log messages to a Kafka topic. The package also includes a config file, where you can specify the host and port of your Kafka server, as well as the topic to which the log messages should be sent
Requirements
Dependency | Requirement |
---|---|
php | >=8.0 |
Laravel | >=8.0 |
This package also requires the rdkafka php extension, which you can install by following this documentation
Install
Install kafka-monolog-handler.
Get Started
1.Modify config/logging.php
.
Without Kafka SASL Config
With Kafka SASL Config and Log Formatter like ElasticsearchFormatter
2.Modify .env
.
License
MIT
All versions of kafka-monolog-handler with dependencies
illuminate/config Version ^8.0|^9.0
illuminate/support Version ^8.0|^9.0
mateusjunges/laravel-kafka Version ^1.8