PHPackages                             mountrix/laravel-discord-notifier - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mountrix/laravel-discord-notifier

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mountrix/laravel-discord-notifier
=================================

2.1(1y ago)240MITPHP

Since Feb 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/himanshu-bankoti/laravel-discord-notifier)[ Packagist](https://packagist.org/packages/mountrix/laravel-discord-notifier)[ RSS](/packages/mountrix-laravel-discord-notifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Discord Notifications for Laravel
=================================

[](#discord-notifications-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/57c4e02602d861315f61730b08589ca5807a082ee9998840f46bf9d10b9d89c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f756e747269782f6c61726176656c2d646973636f72642d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mountrix/laravel-discord-notifier)[![Total Downloads](https://camo.githubusercontent.com/ffc4772793e959ea2f8ca350b547e6bb86f4aefb6ccf872bdc1b9afb11d4f188/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f756e747269782f6c61726176656c2d646973636f72642d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mountrix/laravel-discord-notifier)

A simple Laravel package to send notifications to Discord channels. Helping you easily integrate Discord alerts into your applications.

Contributing
------------

[](#contributing)

We welcome contributions to improve this package! If you'd like to contribute, feel free to open an issue or submit a pull request. Your help is greatly appreciated!

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

[](#installation)

To install the package, run the following command:

```
composer require mountrix/laravel-discord-notifier
```

Usage
-----

[](#usage)

Demonstration:

```
use Mountrix\DiscordNotification\DiscordNotifier;

$discord = new DiscordNotifier('your-webhook-url');
$discord->sendNotification(
    "Hi, It is an autogenerated message.",
    false // true: errorAlert, false: successAlert
);

return response()->json(["message" => "Notified"]);
```

Similarly you can embed the details or logs, by passing a array of data and a associated message:

```
use Mountrix\DiscordNotification\DiscordNotifier;

$discord = new DiscordNotifier('your-webhook-url');
$discord->sendNotification(
    "Order delivered",
    false,
    'User info',
    [
        "order_id" => 'ABC1234',
        'amount' => 200
    ]
);

return response()->json(["message" => "Notified"]);
```

Sample output
-------------

[](#sample-output)

[![Example Image](https://camo.githubusercontent.com/d99c99c86daa849c4076cd2ae1791b47a1587b4a2a13dec10b51bff1961dcc22/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d766965772669643d316a4877423162534a7a3676342d324964516746666263694248394879624a784c)](https://camo.githubusercontent.com/d99c99c86daa849c4076cd2ae1791b47a1587b4a2a13dec10b51bff1961dcc22/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d766965772669643d316a4877423162534a7a3676342d324964516746666263694248394879624a784c)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance46

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

5

Last Release

411d ago

Major Versions

1.2 → 2.02025-03-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b5493430119b1c11ce79a0700c105e953b436996ff3726e3feb473859b90c4f?d=identicon)[himanshu-bankoti](/maintainers/himanshu-bankoti)

---

Top Contributors

[![himanshu-bankoti](https://avatars.githubusercontent.com/u/55949926?v=4)](https://github.com/himanshu-bankoti "himanshu-bankoti (2 commits)")

---

Tags

phplaravelGuzzlenotificationnotificationslaravel-packagewebhooksdiscordlaravel-notificationdiscord-notificationslaravel-discorddiscord-webhooks

### Embed Badge

![Health badge](/badges/mountrix-laravel-discord-notifier/health.svg)

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

###  Alternatives

[renoki-co/laravel-aws-webhooks

Easy webhook handler for Laravel to catch AWS SNS notifications for various services.

73248.5k](/packages/renoki-co-laravel-aws-webhooks)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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