PHPackages                             wendelulhoa/laravel-discord-logger-simple - 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. wendelulhoa/laravel-discord-logger-simple

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

wendelulhoa/laravel-discord-logger-simple
=========================================

Logging to a discord channel in Laravel

09PHP

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wendelulhoa/laravel-discord-logger-simple)[ Packagist](https://packagist.org/packages/wendelulhoa/laravel-discord-logger-simple)[ RSS](/packages/wendelulhoa-laravel-discord-logger-simple/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Discord Logger
======================

[](#laravel-discord-logger)

[![Latest Version on Packagist](https://camo.githubusercontent.com/68adbe8fd4dee365c03caa0d7f9cbc6e2c1ca8e9ae06f116e05457c38130bcd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617276696e6c6162732f6c61726176656c2d646973636f72642d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinlabs/laravel-discord-logger)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/5bb0339dcdb090004d4aeb5761c4a11e69be88553d95bd76da5fe68ee3215a0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617276696e6c6162732f6c61726176656c2d646973636f72642d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinlabs/laravel-discord-logger)

`wu/laravel-discord-logger-simple` is a laravel package providing a logging handler to send logs to a Discord channel.

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

[](#installation)

You can install the package via composer:

```
composer wendelulhoa/laravel-discord-logger-simple
```

Setup
-----

[](#setup)

```
// config/app.php
'providers' => [
    ...
    Wendelulhoa\WuDiscordLogger\ServiceProviderWuDiscordLogger::class
];
```

### Prepare the discord channel web hook

[](#prepare-the-discord-channel-web-hook)

Create a discord web hook for the channel which will receive the logs.

### Prepare the logger configuration

[](#prepare-the-logger-configuration)

You must add a new channel to your `config/logging.php` file:

```
// config/logging.php
'channels' => [
    //...
    'discord' => [
        'driver' => 'custom',
        'via'    => WU\WuDiscordLogger\WuDiscordLogger::class,
        'level'  => 'debug',
        'url'    => env('LOG_DISCORD_WEBHOOK_URL'),
        'ignore_exceptions' => env('LOG_DISCORD_IGNORE_EXCEPTIONS', false),
    ],
];
```

You can then provide the web-hook URL in your `.env` file:

```
LOG_DISCORD_WEBHOOK_URL=https://discordapp.com/api/webhooks/abcerd/1234

```

You can then publish the configuration file:

```
php artisan vendor:publish --provider "Wendelulhoa\WuDiscordLogger\ServiceProviderWuDiscordLogger"

```

### Use the logger channel

[](#use-the-logger-channel)

You have two options: log only to discord or add the channel to the stack

#### Logging to multiple Discord channels

[](#logging-to-multiple-discord-channels)

Of course, you can send your log messages to multiple Discord channels. Just create as many channels as desired in `config/logging.php` and put them in the stack. Each channel should be named differently and should point to a different web hook URL.

Version history
---------------

[](#version-history)

See the [dedicated change log](CHANGELOG.md)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/26adda5005ba5a3967e0cf972d88ec0ad90a1a23158d9f0c5df5598abc219d5b?d=identicon)[wendelulhoa](/maintainers/wendelulhoa)

---

Top Contributors

[![wendelulhoa](https://avatars.githubusercontent.com/u/63935533?v=4)](https://github.com/wendelulhoa "wendelulhoa (9 commits)")

### Embed Badge

![Health badge](/badges/wendelulhoa-laravel-discord-logger-simple/health.svg)

```
[![Health](https://phpackages.com/badges/wendelulhoa-laravel-discord-logger-simple/health.svg)](https://phpackages.com/packages/wendelulhoa-laravel-discord-logger-simple)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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