{"id":23162052,"url":"https://github.com/devnix/mailcheck","last_synced_at":"2025-06-25T04:44:46.741Z","repository":{"id":54360114,"uuid":"221198583","full_name":"devnix/mailcheck","owner":"devnix","description":"Validate and suggest email addresses for your inputs in PHP","archived":false,"fork":false,"pushed_at":"2021-02-23T10:37:46.000Z","size":72,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-28T06:43:54.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devnix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-12T11:10:35.000Z","updated_at":"2024-07-21T18:26:19.000Z","dependencies_parsed_at":"2022-08-13T13:20:33.099Z","dependency_job_id":null,"html_url":"https://github.com/devnix/mailcheck","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/devnix/mailcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnix%2Fmailcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnix%2Fmailcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnix%2Fmailcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnix%2Fmailcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devnix","download_url":"https://codeload.github.com/devnix/mailcheck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnix%2Fmailcheck/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261807681,"owners_count":23212660,"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":"2024-12-17T23:23:59.712Z","updated_at":"2025-06-25T04:44:46.699Z","avatar_url":"https://github.com/devnix.png","language":"PHP","readme":"# Mailcheck for PHP\n\n[![](https://github.com/devnix/mailcheck/workflows/Tests/badge.svg)](https://github.com/devnix/mailcheck/actions?query=workflow%3ATests)\n\nValidate and suggest emails for your email inputs\n\n## Disclaimer\n\nThis library uses by default a public data source to suggest various know email \nproviders.\n\nAs this list is pretty much a work in progress you may be missing some domains, \nso please feel free to open an issue or a pull request to improve it.\n\n## Installation\n\n`composer require devnix/mailcheck`\n\n## Usage\n\nYou just need to initialize an instance to get a shiny suggestion service!\n\n```php\nuse Devnix\\Mailcheck\\Mailcheck;\n\n$mailcheck = new Mailcheck();\n```\n\nThen you can ask for an array of suggestions, ordered by Levenshtein distance...\n\n```php\n$mailcheck-\u003esuggest('example@gmil.com');\n```\n\n```\narray:5 [\n  0 =\u003e \"example@gmail.com\"\n  1 =\u003e \"example@gmx.com\"\n  2 =\u003e \"example@mail.com\"\n  3 =\u003e \"example@email.com\"\n  4 =\u003e \"example@ymail.com\"\n]\n```\n\n...or just the first coincidence\n\n```php\n$mailcheck-\u003esuggestOne('example@gmil.com');\n```\n\n```\n\"example@gmail.com\"\n```\n\n## Contributing\n\nYou can help by reporting bugs, submitting pull requests, providing feedback \nabout your needs or bad suggestions. \n\nYou can execute all the tests by rugging `composer test`. We use tools like \n[PHPStan](https://github.com/phpstan/phpstan), \n[PHPUnit](https://github.com/sebastianbergmann/phpunit), and \n[PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer). We like to follow \nthe [Symfony Coding Standards](https://symfony.com/doc/current/contributing/code/standards.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnix%2Fmailcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevnix%2Fmailcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnix%2Fmailcheck/lists"}