# Laravel-gelf-logger

**URL:** <https://community.graylog.org/t/laravel-gelf-logger/23223>\
**Category:** GELF Library\
**Tags:** gelf-library\
**Created:** [March 26, 2022, 9:52pm UTC](https://community.graylog.org/t/laravel-gelf-logger/23223 "2022-03-26T21:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dscryber](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/dscryber/32/14178_2.png) [@dscryber](https://community.graylog.org/u/dscryber)\
**Post date:** [March 26, 2022, 9:52pm UTC](https://community.graylog.org/t/laravel-gelf-logger/23223/1 "2022-03-26T21:52:24Z")

</div>

## laravel-gelf-logger

@hedii

[View on Github](https://github.com/hedii/laravel-gelf-logger)  
[Open Issues](https://github.com/hedii/laravel-gelf-logger/issues)  
[Stargazers](https://github.com/hedii/laravel-gelf-logger/stargazers)

### GELF Library 6.0.0

| **Laravel** | **laravel-gelf-logger** |
| --- | --- |
| 5.6 | ^3.0 |
| 5.8 | ^3.1 |
| 6.0 | ^4.0 |
| 7.0 | ^5.0 |
| 8.0 | ^5.3 |
| 8.0 | ^6.0 (with php 8) |

A package to send [gelf](http://docs.graylog.org/en/2.1/pages/gelf.html) logs to a gelf compatible backend like graylog. It is a Laravel wrapper for [bzikarsky/gelf-php](https://github.com/bzikarsky/gelf-php) package.

It uses the new [Laravel custom log channel](https://laravel.com/docs/master/logging) introduced in Laravel 5.6.

A gelf receiver like graylog2 must be configured to receive messages with a GELF UDP, TCP or HTTP Input.
