tintnaingwin/email-checker
最新稳定版本:v2.0.0
Composer 安装命令:
composer require tintnaingwin/email-checker
包简介
Laravel Package To Validate If An Email Address Exists Without Sending An Email
README 文档
README
Notice - That extracts the MX records from the email address and connect with the mail server to make sure the mail address accurately exist. So it may be slow loading time in local and some co-operate MX records take a long time.
You can install the package via composer:
composer require tintnaingwin/email-checker The package will automatically register itself.
Translations
If you wish to edit the package translations, you can run the following command to publish them into your resources/lang folder
php artisan vendor:publish --provider="Tintnaingwin\EmailChecker\EmailCheckerServiceProvider" Features
This package supports:
- Validate with SMTP
- Support for Disposable Email
Usage
Form Request Validation
To add 'email_checker' at email attribute
// [your site path]/app/Http/Requests/RegisterRequest.php public function rules() { return [ 'name' => 'required|string|max:255', 'email' => 'required|string|email|max:255|unique:users|email_checker', 'password' => 'required|string|min:6|confirmed', ]; }
In a RegisterController
// [your site path]/app/Http/Controllers/Auth/RegisterController.php protected function validator(array $data) { return Validator::make($data, [ 'name' => ['required', 'string', 'max:255'], 'email' => 'required|string|email|max:255|unique:users|email_checker', 'password' => ['required', 'string', 'min:8', 'confirmed'], ]); }
Using Rule Objects
use TintNaingWin\EmailChecker\Rules\EmailExist; $request->validate([ 'email' => ['required', 'string', 'email', 'max:255', 'unique:users', new EmailExist], ]);
Usage With Facade
You can also check check email manually:
// reture boolean EmailChecker::check('me@example.com');
Testing
Run the tests with:
composer test Credit
- Disposable Email List
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
If you discover any security-related issues, please email amigo.k8@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
tintnaingwin/email-checker 适用场景与选型建议
tintnaingwin/email-checker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 64.16k 次下载、GitHub Stars 达 55, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「email」 「smtp」 「laravel」 「validate」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tintnaingwin/email-checker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tintnaingwin/email-checker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tintnaingwin/email-checker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Extensible library for building notifications and sending them via different delivery channels.
The Message Submission Agent Diagnostics tool (msadiag) facilitates testing the compatibility of third party message submission agents.
Email+ extends Kirby's email capabilities by adding support for multiple email services using the same Kirby email API.
PHPMailer helper class for sending emails using SMTP
An extension to Koldy Framework that brings integration for PHPMailer
Laravel contact us form package to send email and save to database
统计信息
- 总下载量: 64.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 55
- 点击次数: 25
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04