PHPackages                             nikhilpatel8000/laradiscordalerts - 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. nikhilpatel8000/laradiscordalerts

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

nikhilpatel8000/laradiscordalerts
=================================

A Laravel package to send error logs to Discord

00PHP

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nikhilpatel8000/LaraDiscordAlerts)[ Packagist](https://packagist.org/packages/nikhilpatel8000/laradiscordalerts)[ RSS](/packages/nikhilpatel8000-laradiscordalerts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LaraDiscordAlerts
=================

[](#laradiscordalerts)

LaraDiscordAlerts is a Laravel package that automatically sends application error logs to a specified Discord channel. This helps developers monitor and debug errors in real-time.

Features
--------

[](#features)

- Sends Laravel application errors to a Discord channel.
- Easy to configure with a webhook URL.
- Supports different log levels.
- Lightweight and efficient.

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

[](#installation)

You can install the package via Composer:

```
composer require nikhilpatel8000/laradiscordalerts
```

Configuration
-------------

[](#configuration)

### Publish Configuration File

[](#publish-configuration-file)

After installation, publish the configuration file using:

```
php artisan vendor:publish --tag=laradiscordalerts-config
```

This will create a `config/laradiscordalerts.php` file.

### Set Up Discord Webhook

[](#set-up-discord-webhook)

1. **Create a Discord Webhook**

    - Go to your **Discord Server** → **Server Settings** → **Integrations** → **Webhooks**.
    - Click **New Webhook**, name it, and copy the **Webhook URL**.
2. **Update `.env` File**

    Add your webhook URL to your `.env` file:

    ```
    DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/your-webhook-id
    ```
3. **Set Log Channel**

    Update the `LOG_CHANNEL` in your `.env` file:

    ```
    LOG_CHANNEL=discord
    ```

Usage
-----

[](#usage)

Once configured, any application error logs will be automatically sent to the specified Discord channel.

### Testing

[](#testing)

You can test the logging by running:

```
Log::error('This is a test error message');
```

If configured correctly, this message will appear in your Discord channel.

Uninstallation
--------------

[](#uninstallation)

To remove the package, run:

```
composer remove nikhilpatel8000/laradiscordalerts
```

License
-------

[](#license)

This package is open-source and released under the [MIT License](LICENSE).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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/7468c1a1dc3e2d9b2fb4c800dabaf36cc5d227cadd7a2f445d00225b99896f95?d=identicon)[nikhilpatel8000](/maintainers/nikhilpatel8000)

---

Top Contributors

[![nikhilpatel8000](https://avatars.githubusercontent.com/u/20355436?v=4)](https://github.com/nikhilpatel8000 "nikhilpatel8000 (1 commits)")

### Embed Badge

![Health badge](/badges/nikhilpatel8000-laradiscordalerts/health.svg)

```
[![Health](https://phpackages.com/badges/nikhilpatel8000-laradiscordalerts/health.svg)](https://phpackages.com/packages/nikhilpatel8000-laradiscordalerts)
```

###  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)
