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

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

lefuturiste/monolog-discord-handler
===================================

A simple monolog handler for support Discord webhooks

0.4(2y ago)34111.6k↓19.6%12[1 PRs](https://github.com/lefuturiste/monolog-discord-handler/pulls)4MITPHPPHP &gt;=8.1

Since Aug 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (5)Versions (10)Used By (4)

Monolog discord handler
=======================

[](#monolog-discord-handler)

[![Latest Stable Version](https://camo.githubusercontent.com/7f785885702cf9aa75dd85f7d6bc75c4c107b31f515f5e1071830b65eb9c2ac2/68747470733a2f2f706f7365722e707567782e6f72672f6c656675747572697374652f6d6f6e6f6c6f672d646973636f72642d68616e646c65722f762f737461626c65)](https://packagist.org/packages/lefuturiste/monolog-discord-handler)[![Total Downloads](https://camo.githubusercontent.com/5a44597dfd8670d50b82f4790ceb92f3e6cab3e72f73636579a9aa978a383730/68747470733a2f2f706f7365722e707567782e6f72672f6c656675747572697374652f6d6f6e6f6c6f672d646973636f72642d68616e646c65722f646f776e6c6f616473)](https://packagist.org/packages/lefuturiste/monolog-discord-handler)[![License](https://camo.githubusercontent.com/2579cf8cac73e66a8387a430c5631217f0ac8d10ee2401080395997b54e67b47/68747470733a2f2f706f7365722e707567782e6f72672f6c656675747572697374652f6d6f6e6f6c6f672d646973636f72642d68616e646c65722f6c6963656e7365)](https://packagist.org/packages/lefuturiste/monolog-discord-handler)[![Monthly Downloads](https://camo.githubusercontent.com/4cfe3111e2c7fb6ffc39ccf5e58785bba70ca6da84170d7e89274a029fa538f8/68747470733a2f2f706f7365722e707567782e6f72672f6c656675747572697374652f6d6f6e6f6c6f672d646973636f72642d68616e646c65722f642f6d6f6e74686c79)](https://packagist.org/packages/lefuturiste/monolog-discord-handler)

A simple monolog handler for support Discord webhooks

### Dependencies

[](#dependencies)

- PHP &gt;= 8.1
- Monolog &gt;= 3.0

**If you want to use this lib with older version of PHP, install versions prior to 0.4**

1. Installing
-------------

[](#1-installing)

Easy installation via composer. Still no idea what composer is? Find out here [here](http://getcomposer.org).

```
composer require lefuturiste/monolog-discord-handler

```

2. Usage
--------

[](#2-usage)

Push this handler to your Monolog instance:

### Single webhook URL

[](#single-webhook-url)

```
