PHPackages                             oscarweb/laravel-discord-report - 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. oscarweb/laravel-discord-report

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

oscarweb/laravel-discord-report
===============================

Discord Report - Log Error.

0.2.5(1y ago)0898↓71.4%MITPHPPHP &gt;=7.3 || &gt;=8.0

Since Jun 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/oscarweb/laravel-discord-report)[ Packagist](https://packagist.org/packages/oscarweb/laravel-discord-report)[ RSS](/packages/oscarweb-laravel-discord-report/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

Laravel Discord Report
======================

[](#laravel-discord-report)

It is a package to send errors that are logged in the Laravel application directly to a Discord channel.

### - Install vía [Composer](https://packagist.org/packages/oscarweb/laravel-discord-report "Composer")

[](#--install-vía-composer)

```
composer require oscarweb/laravel-discord-report
```

#### Or you can add this line to your `composer.json` file:

[](#or-you-can-add-this-line-to-your-composerjson-file)

```
"oscarweb/laravel-discord-report": "^0.2.5"
```

and run

```
composer update
```

### - Publish the service provider

[](#--publish-the-service-provider)

```
php artisan vendor:publish --provider "LaravelDiscordReport\ServiceProvider"
```

### - Add a Webhook

[](#--add-a-webhook)

In your `.env` file you need to add the environment variable.

```
LDR_WEBHOOK_URL="https://discord.com/api/webhooks/.../..."
```

### - Add Channel

[](#--add-channel)

You must add the new channel to your configuration file:

`laravel_discord_report`

```
# /config/logging.php

return [
    /** ... */
    'default' => env('LOG_CHANNEL', 'stack'),
    /** ... */
    'channels' => [
        'stack' => [
            'driver' => 'stack',
            //add channel: laravel_discord_report ↓
            'channels' => ['single','laravel_discord_report'],
            'ignore_exceptions' => false,
        ],
```

### - Save Config

[](#--save-config)

```
php artisan config:cache
```

### - Testing

[](#--testing)

[![Example Command](https://camo.githubusercontent.com/d0397ea39a344c0bf374ca98a712796127d71f8d239c8459c841a8d50da1fe17/68747470733a2f2f6f736361727765622e636f6d2e61722f6769746875622f6c61726176656c2d646973636f72642d7265706f72742f73637265656e73686f745f6c61726176656c5f646973636f72645f7265706f72742e706e67 "Example Command")](https://camo.githubusercontent.com/d0397ea39a344c0bf374ca98a712796127d71f8d239c8459c841a8d50da1fe17/68747470733a2f2f6f736361727765622e636f6d2e61722f6769746875622f6c61726176656c2d646973636f72642d7265706f72742f73637265656e73686f745f6c61726176656c5f646973636f72645f7265706f72742e706e67)

Other environment variables
---------------------------

[](#other-environment-variables)

You can add these variables in your `.env` file

NameDescriptionDefault`LDR_DISABLED `Disable sending messages to Discord.`false``LDR_WEBHOOK_URL`Discord channel webhook URL.`null``LDR_WEBHOOK_USERNAME`Name of the bot in the Discord channel.`null``LDR_WEBHOOK_AVATAR`Image URL for the bot avatar.`null`#### - Example in your `.env` file:

[](#--example-in-your-env-file)

```
LDR_WEBHOOK_URL="https://discord.com/api/webhooks/.../..."
LDR_WEBHOOK_USERNAME="Test API Report"
LDR_WEBHOOK_AVATAR="https://i.imgur.com/oBPXx0D.png"
```

Save config:

```
php artisan config:cache
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance42

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Recently: every ~70 days

Total

7

Last Release

464d ago

PHP version history (3 changes)0.1.1PHP ^7.3

0.2.3PHP &gt;= 7.3 || ^8.0

0.2.5PHP &gt;=7.3 || &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc1e6e47d8e8cfb4bb2c66a3537c05cfc6379c32e799771026fa8d76d9d9a40a?d=identicon)[oscarweb](/maintainers/oscarweb)

---

Top Contributors

[![oscarweb](https://avatars.githubusercontent.com/u/1325898?v=4)](https://github.com/oscarweb "oscarweb (12 commits)")

---

Tags

loglaravelloggingerrorhandlerreportdiscord

### Embed Badge

![Health badge](/badges/oscarweb-laravel-discord-report/health.svg)

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

###  Alternatives

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k127.1M203](/packages/sentry-sentry-laravel)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299582.7k1](/packages/larabug-larabug)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.9M11](/packages/rollbar-rollbar-laravel)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

26929.6k](/packages/saasscaleup-laravel-log-alarm)[spatie/laravel-flare

Send Laravel errors to Flare

111.4M7](/packages/spatie-laravel-flare)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14845.8k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

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