erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.
193,392 265
Install
composer require erag/laravel-disposable-email
Latest Version:v5.2.0
PHP:>=8.1.0
License:MIT
Last Updated:Jul 21, 2026
Links: GitHub  ·  Packagist
Maintainer: eramitgupta

Laravel Disposable Email Detection

Packagist License Latest Stable Version Laravel Compatibility Total Downloads

Laravel Disposable Email Detection is a Laravel package for detecting and blocking disposable email addresses during validation and runtime checks. It helps protect registrations, lead forms, and application workflows from temporary inbox abuse.

Already contains 1,24,220+ disposable email domains!


Installation

composer require erag/laravel-disposable-email

Publish the configuration:

php artisan erag:install-disposable-email
  • 🔥 110,880+ known disposable domains already included
  • 🔄 Daily auto-sync from self-maintained Disposable Email Blocklist repository
  • 🧠 Smart validation rule for form requests
  • 🛡️ Optional RFC, DNS, spoof, and filter validation modes
  • ⚙️ Runtime email checking via helper and facade
  • 🧩 Blade directive support for conditionals
  • 🌐 Auto-sync with remote domain lists
  • 📝 Add your own custom blacklist with ease
  • Allow trusted domains with a whitelist
  • 🧱 Block subdomains of disposable parent domains
  • 🔎 Detailed runtime results via Disposable::check()
  • 📊 Domain stats command via php artisan disposable:stats
  • 🧠 Optional caching for performance
  • ⚡️ Zero-configuration setup with publishable config
  • Compatible with Laravel 10, 11, 12, and 13

Official Documentation

Complete documentation for installation, configuration, validation, syncing, caching, and troubleshooting is available at:

https://erag.in/laravel-disposable-email/

🔄 Data Sources & Daily Updates

This package uses the official Disposable Email Blocklist, a self-developed and actively maintained repository.

Source

Automatic Updates

The blocklist repository is updated every day via GitHub Actions to:

  • 📥 Fetch the latest disposable email domains
  • 🧹 Normalize and clean domain names
  • 🔍 Remove duplicates and invalid entries
  • 📦 Generate the latest blocklist
  • 🚀 Publish changes automatically

This package always uses the latest version of the maintained blocklist.

⭐ Support

If you like this package, give it a GitHub star.

Related Packages

stuyam/laravel-kickbox-validator

A kickbox email validator for form requests in laravel

10,074 4
tyondo/laravel-notifications

User notifications via email for Laravel 5.3 and 5.4.

50 0
groundsix/laravel-neverbounce

Laravel style wrapper for https://github.com/NeverBounce/NeverBounceAPI-PHP

5,357 2
hamedmehryar/laravel-kickbox-validator

A kickbox email validator for form requests in laravel (forked from 'stayum')

62 1