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

Laravel Mailgun Webhooks Laravel Package

binary-cats/laravel-mailgun-webhooks

A Laravel package for receiving Mailgun webhooks: provides a webhook endpoint, verifies Mailgun signatures, and dispatches events for deliveries, opens, clicks, bounces, complaints, and unsubscribes so you can process email notifications cleanly.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Transactional email lifecycle & deliverability ops: Ship the "what happens after send" half of any email feature — bounces, drops, complaints, deliveries, opens, clicks, unsubscribes — without building a webhook ingestion service. This is the unglamorous 20% of email work that determines whether users actually receive password resets and receipts.
  • Suppression list management (build vs. buy): Hard bounces and spam complaints must stop future sends or you burn sender reputation and get throttled by Mailgun. This package is the cheapest credible path to a maintained suppression pipeline; the alternative is a custom controller plus a queue plus tests, or paying for a deliverability vendor.
  • Notification preferences / unsubscribe compliance: Unsubscribe and complaint events are legal requirements (CAN-SPAM, GDPR-adjacent consent hygiene). Adopting this turns a compliance checkbox into a few hours of integration work rather than a sprint.
  • Engagement instrumentation for roadmap bets: Open/click events feed basic "are users reading our emails?" questions that inform whether to invest in email as a channel, a digest, or a re-engagement campaign. Cheap way to buy data before committing roadmap.
  • Build vs. buy framing for email infrastructure: Positions the decision as "Mailgun + thin Laravel glue" versus "full ESP suite (SendGrid/Postmark/Klaviyo) with built-in event handling." Useful input when scoping a broader email platform initiative.
  • Roadmap dependency flag: Any planned feature depending on reliable email delivery (onboarding sequences, digests, billing dunning) inherits this package's risk profile — 64 stars, one maintainer, Mailgun-only.

When to Consider This Package

Adopt when:

  • You are already on Mailgun and Laravel — this is the intersection it serves, and outside that intersection it has no value.
  • You need to act on delivery events programmatically: suppress on bounce/complaint, deactivate on unsubscribe, trigger in-app notifications on failure.
  • You want this in days, not a sprint, and your team has no appetite for owning webhook signature verification, retries, and event parsing.
  • Your volume is modest-to-moderate and you're comfortable with Mailgun's event taxonomy as your data model.
  • You accept the bus factor: low stars and a small maintainer base mean you should be prepared to vendor the code or fork. MIT license makes that viable — treat it as a starting point you may own.

Look elsewhere when:

  • You are not on Mailgun, or you're multi-ESP or plan to be (need an abstraction layer, not a Mailgun adapter).
  • You need marketing automation — segmentation, journeys, A/B testing, send-time optimization. That's an ESP/CRM decision, not a Laravel package decision.
  • You have enterprise deliverability or compliance requirements (dedicated IPs, DMARC reporting, audited retention). Buy a deliverability platform.
  • You require vendor support, SLAs, or security review artifacts — a 64-star community package won't clear procurement.
  • Your team already has a mature event pipeline (Kafka/Segment/warehouse) and this would be a redundant side channel.
  • The cost of a custom controller is genuinely low for you (a senior Laravel engineer, a handful of event types) — sometimes 150 lines you own beats a dependency you don't.

How to Pitch It (Stakeholders)

For executives: This is a small, free (MIT), Laravel-native adapter that closes a real gap in our email stack — it lets us react to Mailgun's delivery events instead of sending into the void. Concretely: it stops us emailing addresses that have hard-bounced or marked us as spam (protecting sender reputation and, ultimately, whether customers receive password resets and invoices), and it handles unsubscribe and complaint signals we're obligated to honor. Cost is a few engineering days; the alternative is building and maintaining equivalent webhook plumbing ourselves, or buying a heavier email platform we don't otherwise need. The trade-off is a deliberate dependency on Mailgun and on a small open-source project — mitigated by its permissive license (we can fork it) and by scoping it as an internal component behind our own interface.

For engineering: Narrow, well-bounded package — one integration surface, MIT, actively released. It removes boilerplate we'd otherwise write and re-write: signature verification, event parsing, routing. Two asks before we commit: (1) put it behind a thin internal EmailEvents interface so a Mailgun swap or a fork is a contained change, and (2) add contract tests around the event types we actually consume. We should also decide explicitly whether we're consumers of the package or de facto maintainers of a vendored copy — with 64 stars, assume the latter and budget accordingly.

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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels