chameleon / laravel-gelf
There is no license information available for the latest version (0.3.2) of this package.
Laravel Gelf
0.3.2
2022-05-25 18:07 UTC
Requires
- php: >=7.1.0
- graylog2/gelf-php: 1.*
- illuminate/support: ~5.6 || ~5.7 || ~5.8 || ~6.0 || ~7.0 || ~8.0 || ~9.0
- monolog/monolog: 1.* || 2.*
README
laravel-gelf graylog2/gelf-php implementation for laravel framework 5.7+
Installation
composer install
$ composer require chameleon/laravel-gelf
Config
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 ] ],