symfony/discord-notifier
Symfony Notifier bridge for Discord. Send chat notifications via webhook or bot using a DSN, and customize messages with DiscordOptions and rich embeds (fields, thumbnails, footers, media).
Notifier component to avoid reinventing notification logic, while keeping Laravel’s flexibility (e.g., queues, events) via complementary packages.Adopt if:
Look elsewhere if:
/deploy) or event listeners (e.g., reacting to Discord messages) → Use reactphp/discordphp or laravel-discord.spatie/laravel-notification-channels-discord as a bridge.*"This package lets us send professional-grade Discord notifications—like Slack or email—without building custom integrations. For example, instead of a generic ‘Error’ email, we’ll send a formatted Discord message with:
*"This is Symfony’s official Discord notifier—think of it as Mailer but for Discord. Key perks:
.env (e.g., DISCORD_DSN=discord://TOKEN@default).Notifier transports, failure handlers, and retries.
Tradeoffs: No Laravel queues/events out of the box (use spatie/laravel-notification-channels-discord for that), and it’s webhook-focused (no slash commands). Let’s prototype a ‘build failed’ alert in 1 hour to test the UX."**"This package lets us design Discord notifications that look like our app’s UI—not generic webhook blobs. For example:
How can I help you explore Laravel packages today?