erag/laravel-disposable-email
Composer 安装命令:
composer require erag/laravel-disposable-email
包简介
A Laravel package to detect and block disposable email addresses.
关键字:
README 文档
README
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
- 🔄 Daily auto-sync from self-maintained Disposable Email Blocklist repository
- 🧠 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/
🔄 Data Sources & Daily Updates
This package uses the official Disposable Email Blocklist, a self-developed and actively maintained repository.
Source
- 📦 Official Blocklist Repository
https://github.com/eramitgupta/disposable-email
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.
erag/laravel-disposable-email 适用场景与选型建议
erag/laravel-disposable-email 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 179.36k 次下载、GitHub Stars 达 255, 最近一次更新时间为 2025 年 04 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「email」 「validation」 「laravel」 「disposable」 「temporary email」 「email validator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 erag/laravel-disposable-email 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 erag/laravel-disposable-email 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 erag/laravel-disposable-email 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Adds request-parameter validation to the SLIM 3.x PHP framework
Extensible library for building notifications and sending them via different delivery channels.
Email+ extends Kirby's email capabilities by adding support for multiple email services using the same Kirby email API.
A jQuery augmented PHP library for creating and validating HTML forms
A Laravel validator for delimiter-separated list of emails.
A CakePHP behavior to validate foreign keys
统计信息
- 总下载量: 179.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 256
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-19