Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Discord Notifications Laravel Package

tomatophp/discord-notifications

Send Discord notifications from your Laravel app with tomatophp/discord-notifications. This package offers a simple integration for delivering messages to Discord channels via webhooks, making it easy to add real-time alerts and updates to your projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping: "do we add Discord as a notification destination?" This package answers the smallest version of that question — it gives Laravel's existing Notifiable / Notification system a Discord webhook transport, so the decision is not "integrate Discord" but "route existing notifications to a Discord channel." That keeps scope to a route method and a channel class rather than a new messaging subsystem.
  • Build vs. buy for a thin integration. The honest framing is unchanged: a Discord webhook channel is roughly a single class that POSTs a payload to a webhook URL and maps Laravel's notification data into Discord's message format. This package is a convenience wrapper around that, not a platform. The build alternative is one to two days of engineering plus tests. The buy alternative is a dependency with effectively no stars, no dependents, and a release history that went quiet after March 2024 until this v1.0.0 tag. For most teams the decision still tilts toward building or vendoring a fork, because the surface area is small enough that ownership is cheap and the maintenance risk of an unproven dependency is not.
  • Roadmap input for internal alerting and community ops. Legitimate use cases: deploy/CI status pings, error and queue-failure alerts, moderation or support-ticket notifications, and community engagement hooks (new signups, milestones) into a Discord server. These are low-stakes, internal-facing notifications — the right place to trial a package like this, not customer-facing messaging.
  • Risk budgeting. Adopting it is a bet that the Discord webhook API stays stable and that the package's payload formatting keeps working. Because Discord webhooks are a stable, documented surface and the package is MIT-licensed, the failure mode is recoverable: fork it, patch it, or replace it. That materially lowers the cost of being wrong. The v1.0.0 tag slightly improves the picture — a maintainer who tags 1.0 is at least signalling intent to hold the public API stable under semver — but intent is not a support contract.
  • Signal for the dependency review. Stars, dependents, and release cadence remain near zero, and the v1.0.0 release ships with an empty changelog (a link to the commit list and nothing else). That should not be read as "bad code" — it's a tiny utility — but it should be read as "no community validation, no documented change history, and no maintenance guarantee." Treat the version bump as evidence the project isn't abandoned, not as evidence it is supported. That is a procurement decision, not a technical one.
  • What the 1.0 tag does not buy us. Because there is no changelog body, we cannot tell from the release alone whether v1.0.0 contains breaking changes relative to the March 2024 line, whether it adds features, or whether it is a ceremonial tag on unchanged code. Any team already pinned to a pre-1.0 version must diff the tag before upgrading; we should not assume a patch-level upgrade path.

When to Consider This Package

Consider it when:

  • You are already standardized on Laravel's notification system and want Discord as one more channel alongside mail, database, and Slack, with minimal new code.
  • The notifications are internal and non-critical — ops alerts, deploy pings, team channel noise — where a missed or malformed message is an inconvenience, not an incident.
  • You are prototyping or validating whether a Discord channel is worth having at all, and want to defer the build.
  • You have the capacity to vendor or fork the package and own it, and you're comfortable reviewing a small codebase before adopting.
  • Your Discord usage is webhook-based (posting messages into a channel), which is what a notification channel realistically covers.

Look elsewhere — or build in-house — when:

  • You need a maintained dependency with a support commitment, security patching, or a release cadence you can rely on. A single v1.0.0 tag after a long gap does not establish a cadence; zero dependents is still disqualifying for anything on a critical path.
  • You need a documented upgrade story. With no changelog, every version bump is a source-read, not a release-notes read — fine for a two-file package, unacceptable if you're expecting to track it passively.
  • You need Discord bot capabilities — slash commands, interactions, reactions, threads, DMs, role management — rather than one-way webhook posts. This package is not that, and treating it as a bot SDK will lead to a rewrite. Nothing in the 1.0 release suggests the scope has widened.
  • You need rich embeds, attachment uploads, per-message rate-limit handling, retry/backoff, or delivery observability. A thin wrapper typically does not provide these, and you'll be adding them anyway. Confirm against source before assuming 1.0 added them — the release notes don't claim it.
  • Your volume is high enough that Discord's webhook rate limits matter, or notifications are customer-facing and delivery guarantees are part of the product promise.
  • Your stack is not Laravel, or you are not using the native notification system — the package's value is entirely in that integration.

How to Pitch It (Stakeholders)

To executives: This is a small, free, MIT-licensed Laravel add-on that lets our existing notification system post messages into Discord — useful for internal alerts and team visibility. It just published a v1.0.0 release, which is a mildly positive signal that the maintainer is still active and intends the public API to be stable; however, the release carries no changelog, and the project still has no meaningful adoption and no dependents. We should continue to treat it as unmaintained code we would own rather than a supported product. Because the underlying capability is small, the recommendation is unchanged: trial it only for internal, non-critical notifications, or have engineering write and own the equivalent in a day or two. Either way, the cost is low and the blast radius is contained; this is not a strategic dependency and should not be presented as one.

To engineering: It's a Laravel notification channel that delivers via Discord webhook — one channel class plus a routing method, fitting into the existing Notification / Notifiable flow. v1.0.0 has been tagged, but the release notes are an empty changelog link, so diff the tag against our pinned version before upgrading — do not assume a non-breaking bump. Before adopting, review the source (it's small), confirm it handles payload formatting, error responses, and rate limits the way we need, and decide explicitly whether we fork and own it or reimplement. Pin the exact version (now to v1.0.0 if we adopt), wrap it behind our own notification class so it's swappable, and don't extend it toward bot functionality — that's a separate design.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource