valentinbv/free-email-provider-check
Composer 安装命令:
composer require valentinbv/free-email-provider-check
包简介
free email provider check
关键字:
README 文档
README
This small library is designed to check emails for membership in free email services. It may be useful for verifying that an email belongs to a corporate domain.
Thanks for the list https://gist.github.com/tbrianjones/5992856/
You can use either the provided list of domain names or add it with other domain names
The library allows you to work with both a text file containing a list of domain names and an array.
You can always expand the possibilities by implementing the interface valentinbv\Interfaces\ISource
For example, use a file:
$fileSource = new valentinbv\Email\FileSource(__DIR__ . '/domains.txt');
$fileSource->find('yahoo.com');
or use an array
$arraySource = new valentinbv\Email\ArraySource(['yahoo.com']);
$arraySource->find('yahoo.com');
For install from packagist
composer require valentinbv/free-email-provider-check
For install from git add to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ValentinBV/free-email-provider-check.git"
}
],
"require": {
"valentinbv/free-email-provider-check": "dev-master"
}
}
统计信息
- 总下载量: 8.22k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-26