PHPackages                             tomatophp/filament-discord - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. tomatophp/filament-discord

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

tomatophp/filament-discord
==========================

Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class

v1.0.1(1y ago)23.1k1MITPHPPHP ^8.1|^8.2

Since Jul 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tomatophp/filament-discord)[ Packagist](https://packagist.org/packages/tomatophp/filament-discord)[ GitHub Sponsors](https://github.com/3x1io)[ RSS](/packages/tomatophp-filament-discord/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

[![Screenshot](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/3x1io-tomato-discord.jpg)](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/3x1io-tomato-discord.jpg)

Filament Discord Notifications
==============================

[](#filament-discord-notifications)

[![Latest Stable Version](https://camo.githubusercontent.com/1d8e35ec5e30747569e751ac29e79bea68d6cacc05d04b93ba56e7a7d24b7640/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646973636f72642f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-discord)[![License](https://camo.githubusercontent.com/979be0ab76c8718481381edbeb78d182e6756eedf0b93a2e6396963eb377c4b9/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646973636f72642f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-discord)[![Downloads](https://camo.githubusercontent.com/ad554589588fe1cf02b53438c6c4963147ab3bb7572e597210037a3d00a2305f/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d646973636f72642f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-discord)

Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class

Screenshots
-----------

[](#screenshots)

[![Notification](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/notification.png)](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/notification.png)[![Error Log](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/error-log.png)](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/error-log.png)[![Error Log Link](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/error-log-link.png)](https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/error-log-link.png)

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

[](#installation)

```
composer require tomatophp/filament-discord
```

after install on your `.env` file set

```
DISCORD_WEBHOOK=
DISCORD_ERROR_WEBHOOK=
DISCORD_ERROR_WEBHOOK_ACTIVE=

```

where `DISCORD_WEBHOOK` the main notification channel webhook and `DISCORD_ERROR_WEBHOOK` is the error logger channel webhook and `DISCORD_ERROR_WEBHOOK_ACTIVE` to be true or false to active and stop logger

Using
-----

[](#using)

you can send notification to discord with multi-way the first of it is using native FilamentPHP `Notification::class`

```
use \Filament\Notifications\Notification;

Notification::make()
    ->title('Hi')
    ->body('Welcome On The Moon!')
    ->sendToDiscord()
```

you can attach image to the message like this

```
use \Filament\Notifications\Notification;

Notification::make()
    ->title('Hi')
    ->body('Welcome On The Moon!')
    ->sendToDiscord(image: "https://raw.githubusercontent.com/tomatophp/filament-discord/master/arts/3x1io-tomato-discord.jpg")
```

Send to Selected User
---------------------

[](#send-to-selected-user)

you can send a notification to selected user webhook by add a column on your user table with name `webhook` and then add this tait to User model

```
use TomatoPHP\FilamentDiscord\Traits\InteractsWithDiscord;

class User {
    use InteractsWithDiscord;
}
```

and now you can send notification to the user like this

```
use \Filament\Notifications\Notification;

Notification::make()
    ->title('Hi')
    ->body('Welcome On The Moon!')
    ->sendToDiscord($user)
```

Allow Discord Error Logger
--------------------------

[](#allow-discord-error-logger)

you can use Discord channel as an error logger to log and followup your error with a very easy way, on your `bootstrap/app.php` add this class like this

```
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use ProtoneMedia\Splade\Http\SpladeMiddleware;

return Application::configure(basePath: dirname(__DIR__))
    ->withRouting(
        web: __DIR__.'/../routes/web.php',
        api: __DIR__.'/../routes/api.php',
        commands: __DIR__.'/../routes/console.php',
        channels: __DIR__.'/../routes/channels.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
    })
    ->withExceptions(function (Exceptions $exceptions) {
        \TomatoPHP\FilamentDiscord\Helpers\DiscordErrorReporter::make($exceptions);
    })->create();
```

Publish Assets
--------------

[](#publish-assets)

you can publish config file by use this command

```
php artisan vendor:publish --tag="filament-discord-config"
```

Other Filament Packages
-----------------------

[](#other-filament-packages)

Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~0 days

Total

2

Last Release

717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (9 commits)")[![CodeWithDennis](https://avatars.githubusercontent.com/u/23448484?v=4)](https://github.com/CodeWithDennis "CodeWithDennis (1 commits)")

---

Tags

discordfilament-notificationsfilament-pluginintegrationphplaravelfilament-pluginfilamentphpdiscordtomatophpnotificaitonnotification-driver

### Embed Badge

![Health badge](/badges/tomatophp-filament-discord/health.svg)

```
[![Health](https://phpackages.com/badges/tomatophp-filament-discord/health.svg)](https://phpackages.com/packages/tomatophp-filament-discord)
```

###  Alternatives

[tomatophp/filament-pwa

get a PWA feature on your FilamentPHP app with settings from panel

9018.8k](/packages/tomatophp-filament-pwa)[tomatophp/filament-api

Generate APIs from your filament resource using single line of code

537.2k1](/packages/tomatophp-filament-api)[tomatophp/filament-cms

Full CMS System with support of importing integrations and multi meta functions

12011.9k4](/packages/tomatophp-filament-cms)[tomatophp/filament-types

Manage any type on your app in Database with easy to use Resource for FilamentPHP

5718.6k8](/packages/tomatophp-filament-types)[tomatophp/filament-fcm

Firebase Cloud Messaging integration to Native FilamentPHP Notification Package

202.2k1](/packages/tomatophp-filament-fcm)[tomatophp/filament-invoices

Generate and manage your invoices / payments using multi currencies and multi types in FilamentPHP

1044.0k](/packages/tomatophp-filament-invoices)

PHPackages © 2026

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