Skip to content

eramitgupta/laravel-disposable-email

Repository files navigation

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 110,880+ 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
  • 🧠 Smart validation rule for form requests
  • ⚙️ 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/

⭐ Support

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

About

A Laravel package to detect and block disposable email addresses with 110.88K+ known domains.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

254 stars

Watchers

2 watching

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Languages