PHPackages                             rixafy/monolog-discord-tracy-handler - 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. rixafy/monolog-discord-tracy-handler

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

rixafy/monolog-discord-tracy-handler
====================================

Monolog discord handler for Nette Framework with log file attachments

v2.0.0(1y ago)33.2k↓33.3%MITPHPPHP &gt;=7.4

Since May 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/delacry/MonologDiscordTracyHandler)[ Packagist](https://packagist.org/packages/rixafy/monolog-discord-tracy-handler)[ RSS](/packages/rixafy-monolog-discord-tracy-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Monolog Discord handler with Tracy support
==========================================

[](#monolog-discord-handler-with-tracy-support)

📝 Extended library `lefuturiste/monolog-discord-handler` with support of sending generated log files from Tracy (Nette Framework logging library) as an attachments to Discord channel

Requirements
============

[](#requirements)

- PHP &gt;= 7.4
- Monolog &gt;= 1.3
- Tracy &gt;= 2.4

Installation
============

[](#installation)

```
composer require rixafy/monolog-discord-tracy-handler

```

Usage
=====

[](#usage)

Check out [usage from original library](https://github.com/lefuturiste/monolog-discord-handler#2-usage) and replace `DiscordHandler\DiscordHandler` with `Rixafy\DiscordTracy\DiscordTracyHandler`

How it works
============

[](#how-it-works)

If handler detects exception, error or info log, it will search log directory for newest `*.html` file, and if the file is not older than 5 seconds, handler will make a webhook request with attached file via curl library (it may change in the future to default guzzle http lib used in monolog)

Time check is because it's currently hard to tell if the last created html dump is correct one since tracy generates info/error/exception log only first time, and also if there was one error spamming every second, discord would be spammed with html files and probably would apply some api limits.

Example configuration using contributte/monolog
===============================================

[](#example-configuration-using-contributtemonolog)

```
extensions:
    monolog: Contributte\Monolog\DI\MonologExtension

monolog:
    channel:
        default:
            handlers:
                - Rixafy\DiscordTracy\DiscordTracyHandler('webhook_url', 'Name', 'SubName', 'DEBUG')
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~411 days

Total

4

Last Release

590d ago

Major Versions

v1.0.2 → v2.0.02024-09-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bf4ee88447a7ca740f8af98fb7d3616e62db0401458102425b2322d0cc4019d?d=identicon)[Delacry](/maintainers/Delacry)

---

Top Contributors

[![delacry](https://avatars.githubusercontent.com/u/45132928?v=4)](https://github.com/delacry "delacry (8 commits)")

---

Tags

discordmonologmonolog-handlernettenette-frameworktracy

### Embed Badge

![Health badge](/badges/rixafy-monolog-discord-tracy-handler/health.svg)

```
[![Health](https://phpackages.com/badges/rixafy-monolog-discord-tracy-handler/health.svg)](https://phpackages.com/packages/rixafy-monolog-discord-tracy-handler)
```

###  Alternatives

[kdyby/monolog

Integration of Monolog into Nette Framework

33684.0k10](/packages/kdyby-monolog)[contributte/newrelic

NewRelic PHP agent integration for Nette Framework

19822.4k](/packages/contributte-newrelic)[mangoweb/monolog-tracy-handler

Integrates Tracy into Monolog, supports uploading Tracy bluescreens to AWS S3

20327.5k1](/packages/mangoweb-monolog-tracy-handler)[nextras/tracy-monolog-adapter

Nextras Tracy-Monolog Adapter

1128.1k](/packages/nextras-tracy-monolog-adapter)

PHPackages © 2026

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