chameleon/laravel-gelf is a Laravel package for laravel gelf.
It currently has 2 GitHub stars and 2.492 downloads on Packagist (latest version 0.3.2).
Install it with composer require chameleon/laravel-gelf.
Discover more Laravel packages by chameleon
or browse all Laravel packages to compare alternatives.
Last updated
laravel-gelf graylog2/gelf-php implementation for laravel framework 5.7+
composer install
$ composer require chameleon/laravel-gelf
config/logging.php
'graylog' => [
'driver' => 'laravel-gelf',
'level' => 'debug',
'facility' => 'laravel',
//'formatter' => \Monolog\Formatter\GelfMessageFormatter::class,
'connection' => [
'type' => 'udp', // or tcp
'host' => '127.0.0.1'
'port' => 12201
],
//additional fields
'additional' => [
'from_php' => true
]
],