Download the PHP package tomatophp/filament-discord without Composer
On this page you can find all versions of the php package tomatophp/filament-discord. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tomatophp/filament-discord
More information about tomatophp/filament-discord
Files in tomatophp/filament-discord
Package filament-discord
Short Description Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class
License MIT
Informations about the package filament-discord
Filament Discord Notifications
Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class
Screenshots
Installation
after install on your .env
file set
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
you can send notification to discord with multi-way the first of it is using native FilamentPHP Notification::class
you can attach image to the message like this
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
and now you can send notification to the user like this
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
Publish Assets
you can publish config file by use this command
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-discord with dependencies
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.0.0
filament/notifications Version ^3.0.0