kouz/laravel-mailgun-email-validation
Laravel validation rule that checks emails with Mailgun’s Email Validation API. Adds a mailgun_email rule with optional role, disposable, mailbox, and strict flags to block risky addresses and optionally require Mailgun verification.
admin@domain.com).contact@ or info@ addresses unless explicitly allowed).For Executives:
"This package lets us validate email addresses in real-time using Mailgun’s API, blocking fake or low-quality emails before they enter our system. For example, it catches disposable emails (like tempmail.com) and role accounts (like admin@company.com), which reduces fraud, improves deliverability, and saves support costs. It’s a lightweight, turnkey solution that integrates with our existing Laravel stack—no new infrastructure needed. The cost is minimal (uses our existing Mailgun API keys), and it directly supports our goals of reducing churn and improving data quality."
For Engineering:
*"This is a battle-tested Laravel package that adds Mailgun’s email validation rules as a custom validation rule (mailgun_email). It handles:
FILTER_VALIDATE_EMAIL).strict mode, custom domain allowlists).
It’s MIT-licensed, lightweight (~100 LOC), and works out-of-the-box with Laravel 5.5+. The tradeoff is minimal maintenance (last updated in 2020), but since it’s just a wrapper around Mailgun’s API, we’d catch any issues early. I recommend piloting it in the signup flow first to measure impact on fraud/rejections."*How can I help you explore Laravel packages today?