PHPackages                             exolnet/laravel-graylog - 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. exolnet/laravel-graylog

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

exolnet/laravel-graylog
=======================

This package extends Laravel’s log package to add a graylog channel.

v1.15.0(1y ago)1081.7k↓30.6%3[1 issues](https://github.com/eXolnet/laravel-graylog/issues)MITPHPPHP ^8.2CI passing

Since Oct 11Pushed 1y ago2 watchersCompare

[ Source](https://github.com/eXolnet/laravel-graylog)[ Packagist](https://packagist.org/packages/exolnet/laravel-graylog)[ Docs](https://github.com/eXolnet/laravel-graylog)[ RSS](/packages/exolnet-laravel-graylog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (21)Used By (0)

laravel-graylog
===============

[](#laravel-graylog)

[![Latest Stable Version](https://camo.githubusercontent.com/33ad20cef624bea1b6876e01497590e53a470e1672818398497451ac49518e76/68747470733a2f2f706f7365722e707567782e6f72672f65586f6c6e65742f6c61726176656c2d677261796c6f672f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-graylog)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/f9c6aa7a5ec737c4a22efdc5f5250c70808bd3fc471e81e7333e84a2c27a4ec0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65586f6c6e65742f6c61726176656c2d677261796c6f672f74657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/eXolnet/laravel-graylog/actions?query=workflow%3Atests)[![Total Downloads](https://camo.githubusercontent.com/8076f47889dc5609732eb27b08cebf44732906fa6da2234803aad9045d1b3f2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65586f6c6e65742f6c61726176656c2d677261796c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-graylog)

This package extends Laravel’s log package to add a graylog driver.

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

[](#installation)

1. Require this package with composer:

    ```
    composer require exolnet/laravel-graylog
    ```
2. If you don't use package auto-discovery, add the service provider to the `providers` array in `config/app.php`:

    ```
    Exolnet\Graylog\GraylogServiceProvider::class
    ```
3. Add a graylog channel in your `logging.php` configuration file:

    ```
    'graylog' => [
        'driver' => 'graylog',
        'level' => 'notice',
        'handler_with' => [
            'transport' => env('LOG_GRAYLOG_TRANSPORT', 'udp'),
            'host' => env('LOG_GRAYLOG_HOST', 'localhost'),
            'port' => env('LOG_GRAYLOG_PORT', 12201),
            'path' => env('LOG_GRAYLOG_PATH', '/gelf'),
            'extra' => [
                //
            ]
        ],
    ],
    ```
4. Change your `LOG_CHANNEL` for `graylog` or add it to your stack in the `logging.php` configuration file

Usage
-----

[](#usage)

### Supported Transports

[](#supported-transports)

The following transports are supported: `udp`, `tcp`, `ssl`, `http` and `https`. Select the transport accordingly to your Graylog set up using the `GRAYLOG_TRANSPORT` configuration. By default, the `udp` transport is used.

The default path for `http` and `https` transports is `/gelf`. This value can be configured using the `GRAYLOG_PATH`configuration.

```
GRAYLOG_PATH=/gelf

```

Testing
-------

[](#testing)

To run the phpUnit tests, please use:

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE OF CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Simon Gaudreau](https://github.com/Gandhi11)
- [Patricia Gagnon-Renaud](https://github.com/pgrenaud)
- [Alexandre D'Eschambeault](https://github.com/xel1045)
- [All Contributors](../../contributors)

License
-------

[](#license)

Copyright © [eXolnet](https://www.exolnet.com). All rights reserved.

This code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). Please see the [license file](LICENSE) for more information.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance41

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 59.4% 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 ~109 days

Recently: every ~277 days

Total

19

Last Release

446d ago

PHP version history (6 changes)v1.0.0PHP &gt;=7.3

v1.3.0PHP &gt;=7.2

v1.8.0PHP ^7.3|^8.0

v1.12.0PHP ^8.0

v1.14.0PHP ^8.1

v1.15.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4064055?v=4)[eXolnet](/maintainers/exolnet)[@eXolnet](https://github.com/eXolnet)

---

Top Contributors

[![xel1045](https://avatars.githubusercontent.com/u/1497697?v=4)](https://github.com/xel1045 "xel1045 (60 commits)")[![Gandhi11](https://avatars.githubusercontent.com/u/4001049?v=4)](https://github.com/Gandhi11 "Gandhi11 (18 commits)")[![pgrenaud](https://avatars.githubusercontent.com/u/10713979?v=4)](https://github.com/pgrenaud "pgrenaud (18 commits)")[![ChristopheTremblay](https://avatars.githubusercontent.com/u/61481239?v=4)](https://github.com/ChristopheTremblay "ChristopheTremblay (5 commits)")

---

Tags

hacktoberfestlaravellaravel-packagephplaravelexolnetlaravel-graylog

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/exolnet-laravel-graylog/health.svg)

```
[![Health](https://phpackages.com/badges/exolnet-laravel-graylog/health.svg)](https://phpackages.com/packages/exolnet-laravel-graylog)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[hedii/laravel-gelf-logger

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

1333.4M10](/packages/hedii-laravel-gelf-logger)[jackwh/laravel-new-relic

Monitor your Laravel application performance with New Relic

112827.2k](/packages/jackwh-laravel-new-relic)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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