{"id":28438091,"url":"https://github.com/zanysoft/email-checker","last_synced_at":"2025-10-28T17:40:40.285Z","repository":{"id":57089312,"uuid":"296734596","full_name":"zanysoft/email-checker","owner":"zanysoft","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-18T21:40:27.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T00:43:12.687Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zanysoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-18T21:37:03.000Z","updated_at":"2020-09-18T21:40:13.000Z","dependencies_parsed_at":"2022-08-20T16:00:45.790Z","dependency_job_id":null,"html_url":"https://github.com/zanysoft/email-checker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zanysoft/email-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Femail-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Femail-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Femail-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Femail-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zanysoft","download_url":"https://codeload.github.com/zanysoft/email-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanysoft%2Femail-checker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262452335,"owners_count":23313421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-06T00:39:12.920Z","updated_at":"2025-10-28T17:40:35.219Z","avatar_url":"https://github.com/zanysoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validate Email for Laravel\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Total Downloads][ico-downloads]][link-downloads]  \n\n**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.\n\nYou can install the package via composer:\n\n```\ncomposer require zanysoft/email-checker\n```\nThe package will automatically register itself.\n\n### Translations\n\nIf you wish to edit the package translations, you can run the following command to publish them into your `resources/lang` folder\n\n```bash\nphp artisan vendor:publish --provider=\"ZanySoft\\EmailChecker\\EmailCheckerServiceProvider\"\n```\n\n### Features\n\nThis package supports:\n\n*   Validate with SMTP\n*   Support for Disposable Email\n\n## Usage\n\n### `Form Request Validation`\nTo add 'email_checker' at email attribute\n\n```php\n    // [your site path]/app/Http/Requests/RegisterRequest.php\n    public function rules()\n    {\n        return [\n               'name' =\u003e 'required|string|max:255',\n               'email' =\u003e 'required|string|email|max:255|unique:users|email_checker',\n               'password' =\u003e 'required|string|min:6|confirmed',\n        ];\n    }\n```\n\n### `In a RegisterController`\n\n```php\n    // [your site path]/app/Http/Controllers/Auth/RegisterController.php\n    protected function validator(array $data)\n    {\n        return Validator::make($data, [\n            'name' =\u003e ['required', 'string', 'max:255'],\n            'email' =\u003e 'required|string|email|max:255|unique:users|email_checker',\n            'password' =\u003e ['required', 'string', 'min:8', 'confirmed'],\n        ]);\n    }\n```\n\n### `Using Rule Objects`\n\n```php\n    use ZanySoft\\EmailChecker\\Rules\\EmailExist;\n\n    $request-\u003evalidate([\n        'email' =\u003e ['required', 'string', 'email', 'max:255', 'unique:users', new EmailExist],\n    ]);\n```\n\n### `Usage With Facade`\nYou can also check check email manually: \n \n ```php\n // reture boolean\n EmailChecker::check('me@example.com');\n```\n\n### Credit\n  - Disposable Email List\n    * [Ilya Volodarsky](https://github.com/ivolo/disposable-email-domains/blob/master/index.json)\n\n### Changelog\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.    \n    \n## Security\nIf you discover any security-related issues, please email amigo.k8@gmail.com instead of using the issue tracker.    \n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n\n[ico-version]: https://img.shields.io/packagist/v/zanysoft/email-checker.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/zanysoft/email-checker.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/zanysoft/email-checker\n[link-downloads]: https://packagist.org/packages/zanysoft/email-checker\n[link-author]: https://github.com/zanysoft\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanysoft%2Femail-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanysoft%2Femail-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanysoft%2Femail-checker/lists"}