{"id":19430730,"url":"https://github.com/jmrashed/email-list-cleaning-tool-using-php","last_synced_at":"2026-05-16T06:05:29.919Z","repository":{"id":84181087,"uuid":"330286270","full_name":"jmrashed/Email-List-Cleaning-Tool-Using-PHP","owner":"jmrashed","description":"Email List Cleaning Tool Using PHP","archived":false,"fork":false,"pushed_at":"2021-01-17T00:44:00.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T20:14:40.819Z","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/jmrashed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-17T00:39:23.000Z","updated_at":"2023-06-18T02:57:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"4793c0fe-1782-48f1-b3d3-90cd000b648e","html_url":"https://github.com/jmrashed/Email-List-Cleaning-Tool-Using-PHP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FEmail-List-Cleaning-Tool-Using-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FEmail-List-Cleaning-Tool-Using-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FEmail-List-Cleaning-Tool-Using-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FEmail-List-Cleaning-Tool-Using-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrashed","download_url":"https://codeload.github.com/jmrashed/Email-List-Cleaning-Tool-Using-PHP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240612535,"owners_count":19829027,"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-11-10T14:26:20.335Z","updated_at":"2026-05-16T06:05:24.884Z","avatar_url":"https://github.com/jmrashed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-mail validator (PHP edition)\n\nA very simple library that allows you to validate an e-mail address, check if it exists through online connection and check if the provider is a disposable one or not.\n\n# E-mail validation\n\nString validation:\n\n`PHPEmailAddressValidator::validateString($email);`\n\nComplete validation:\n\n`PHPEmailAddressValidator::validate($email);`\n\nThe complete validation will check address syntax first, after that will check for provider existence through DNS resolution and then will check if the given e-mail address exists.\n\n# E-mail provider check\n\nBefore using these methods you should set up dictionaries as following:\n\n`PHPEmailAddressValidator::setWhiteListDatabasePath('whitelist.txt');`\n`PHPEmailAddressValidator::setBlackListDatabasePath('blacklist.txt');`\n`PHPEmailAddressValidator::setDisposableProvidersDatabasePath('disposable.txt');`\n\nCheck if the e-mail provider is accepted:\n\n`PHPEmailAddressValidator::isTrustedProvider($email, $disposableAllowed, $strict);`\n\nWith accepted is meant that the provider is found within the given white list, if strict mode is not enabled, will be also checked if the provider is found within the black list, in this case will be returned \"false\".\nIf the provider is checked using strict mode will be returned \"true\" only if it is found within the given white list.\nBoth white list and black list must be plain text files and providers must be separated by a break line (\\n).\n\nCheck if the e-mail provider is disposable:\n\n`PHPEmailAddressValidator::isDisposableProvider($disposable);`\n \nDisposable providers list must be plain text files and providers must be separated by a break line (\\n).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Femail-list-cleaning-tool-using-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrashed%2Femail-list-cleaning-tool-using-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Femail-list-cleaning-tool-using-php/lists"}