承接 devnix/mailcheck 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

devnix/mailcheck

Composer 安装命令:

composer require devnix/mailcheck

包简介

Provide email suggestions based on multiple dictionaries

README 文档

README

Validate and suggest emails for your email inputs

Disclaimer

This library uses by default a public data source to suggest various know email providers.

As this list is pretty much a work in progress you may be missing some domains, so please feel free to open an issue or a pull request to improve it.

Installation

composer require devnix/mailcheck

Usage

You just need to initialize an instance to get a shiny suggestion service!

use Devnix\Mailcheck\Mailcheck;

$mailcheck = new Mailcheck();

Then you can ask for an array of suggestions, ordered by Levenshtein distance...

$mailcheck->suggest('example@gmil.com');
array:5 [
  0 => "example@gmail.com"
  1 => "example@gmx.com"
  2 => "example@mail.com"
  3 => "example@email.com"
  4 => "example@ymail.com"
]

...or just the first coincidence

$mailcheck->suggestOne('example@gmil.com');
"example@gmail.com"

Contributing

You can help by reporting bugs, submitting pull requests, providing feedback about your needs or bad suggestions.

You can execute all the tests by rugging composer test. We use tools like PHPStan, PHPUnit, and PHP CS Fixer. We like to follow the Symfony Coding Standards.

统计信息

  • 总下载量: 8.47k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-11-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固