PHPackages                             everon/logger-gelf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. everon/logger-gelf

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

everon/logger-gelf
==================

Logger plugin with Gelf/Graylog handler for EveronLogger

3.0.0(2y ago)035MITPHPPHP ^8.1

Since Nov 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/oliwierptak/everon-logger-gelf)[ Packagist](https://packagist.org/packages/everon/logger-gelf)[ RSS](/packages/everon-logger-gelf/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (3)Dependencies (6)Versions (5)Used By (0)

EveronLoggerGelf
================

[](#everonloggergelf)

[![Build and run tests](https://github.com/oliwierptak/everon-logger-gelf/actions/workflows/main.yml/badge.svg)](https://github.com/oliwierptak/everon-logger-gelf/actions/workflows/main.yml)

A plugin with [Graylog2](https://github.com/bzikarsky/gelf-php) handler for [EveronLogger](https://github.com/oliwierptak/everon-logger).

- GelfHttp
- GelfTcp
- GelfUdp

*Note:* Gelf offers several transport protocols, and could be configured via related properties of `GelfLoggerPluginConfigurator`.

Plugins
-------

[](#plugins)

### GelfHttp

[](#gelfhttp)

- Configurator

    `Everon\Shared\LoggerGelf\Configurator\Plugin\GelfHttpLoggerPluginConfigurator`
- Default Options

    ```
    'pluginClass' => \Everon\LoggerGelf\Plugin\GelfHttp\GelfHttpLoggerPlugin::class,
    'pluginFactoryClass' => NULL,
    'logLevel' => \Monolog\Level::Debug,
    'shouldBubble' => true,
    'ignoreTransportErrors' => true,
    'host' => '127.0.0.1',
    'port' => 12202,
    'path' => '/gelf',
    'sslOptions' => NULL,
    ```
- Plugin

    `Everon\LoggerGelf\Plugin\GelfHttp\GelfHttpLoggerPlugin`

### GelfTcp

[](#gelftcp)

- Configurator

    `Everon\Shared\LoggerGelf\Configurator\Plugin\GelfTcpLoggerPluginConfigurator`
- Default Options

    ```
    'pluginClass' => \Everon\LoggerGelf\Plugin\GelfTcp\GelfTcpLoggerPlugin::class,
    'pluginFactoryClass' => NULL,
    'logLevel' => \Monolog\Level::Debug,
    'shouldBubble' => true,
    'ignoreTransportErrors' => true,
    'host' => '127.0.0.1',
    'port' => 12201,
    'sslOptions' => NULL,
    ```
- Plugin

    `Everon\LoggerGelf\Plugin\GelfTcp\GelfTcpLoggerPlugin`

### GelfUdp

[](#gelfudp)

- Configurator

    `Everon\Shared\LoggerGelf\Configurator\Plugin\GelfUdpLoggerPluginConfigurator`
- Default Options for `GelfUdpLoggerPluginConfigurator`

    ```
    'pluginClass' => \Everon\LoggerGelf\Plugin\GelfUdp\GelfUdpLoggerPlugin::class,
    'pluginFactoryClass' => NULL,
    'logLevel' => \Monolog\Level::Debug,
    'shouldBubble' => true,
    'ignoreTransportErrors' => true,
    'host' => '127.0.0.1',
    'port' => 12201,
    'chunkSize' => \Gelf\Transport\UdpTransport::CHUNK_SIZE_WAN,
    ```
- Plugin

    `Everon\LoggerGelf\Plugin\GelfUdp\GelfUdpLoggerPlugin`

### Gelf SSL Options

[](#gelf-ssl-options)

- Default Options for `GelfLoggerPluginSslOptions`

    ```
    'verifyPeer' => true,
    'allowSelfSigned' => false,
    'caFile' => NULL,
    'ciphers' => NULL,
    'useSsl' => false,
    ```
- Usage

    ```
    use Everon\Shared\Logger\Configurator\Plugin\LoggerConfigurator;
    use Everon\Logger\EveronLoggerFacade;
    use Everon\Shared\LoggerGelf\Configurator\Plugin\GelfHttpLoggerPluginConfigurator;
    use Everon\Shared\LoggerGelf\Configurator\Plugin\GelfTcpLoggerPluginConfigurator;
    use Everon\Shared\LoggerGelf\Configurator\Plugin\GelfUdpLoggerPluginConfigurator;
    use Monolog\Level;

    $gelfHttpPluginConfigurator = (new GelfHttpLoggerPluginConfigurator)
        ->setLogLevel(Level::Debug)
        ->setHost('graylog.host.http');

    $gelfTcpPluginConfigurator = (new GelfTcpLoggerPluginConfigurator)
        ->setLogLevel(Level::Warning)
        ->setHost('graylog.host.tcp');

    $gelfUdpPluginConfigurator = (new GelfUdpLoggerPluginConfigurator)
        ->setLogLevel(Level::Info)
        ->setHost('graylog.host.udp');

    $configurator = (new LoggerConfigurator)
        ->addPluginConfigurator($gelfHttpPluginConfigurator)
        ->addPluginConfigurator($gelfTcpPluginConfigurator)
        ->addPluginConfigurator($gelfUdpPluginConfigurator);

    $logger = (new EveronLoggerFacade())->buildLogger($configurator);

    $logger->info('lorem ipsum');
    ```

Requirements
------------

[](#requirements)

- PHP v8.1.x
- Monolog v3.x

Installation
------------

[](#installation)

```
composer require everon/logger-gelf

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~488 days

Total

3

Last Release

1016d ago

Major Versions

1.0.0 → 2.0.02021-05-18

2.0.0 → 3.0.02023-08-04

PHP version history (3 changes)1.0.0PHP ^7.4

2.0.0PHP ^8

3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/73a4cc056d2b09189dda46d01b76e71161dd9b75a226230bed6bec8f414d1cf8?d=identicon)[oliwierptak](/maintainers/oliwierptak)

---

Top Contributors

[![oliwierptak](https://avatars.githubusercontent.com/u/495101?v=4)](https://github.com/oliwierptak "oliwierptak (27 commits)")

---

Tags

gelfgelf-phploggermonologpluginssemantic-versioning

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/everon-logger-gelf/health.svg)

```
[![Health](https://phpackages.com/badges/everon-logger-gelf/health.svg)](https://phpackages.com/packages/everon-logger-gelf)
```

###  Alternatives

[hedii/laravel-gelf-logger

A Laravel package to send logs to a gelf compatible backend like graylog

1333.4M10](/packages/hedii-laravel-gelf-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
