vboctor/disposable_email_checker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

vboctor/disposable_email_checker

Composer 安装命令:

composer require vboctor/disposable_email_checker

包简介

Library to detect disposable email addresses

README 文档

README

Build Status

What is it?

Disposable Email Checker is a library that allows applications to check for users signup with disposable email addresses. This is very important for services that provide some trial period based on the email address. Hence, if users use disposable addresses, then they can potentially bypass the time limit. Other applications may use it to make sure that they have valid emails that they can use for future correspondence.

The library currently contains > 1,900 domains and growing.

Goals

This project started with offering a php library, but in v2, it has been refactored to separate the domain lists from the code. This enables the following scenarios:

  • Providing implementations in multiple languages that consumes such data files.
  • Enable apps to easily embed these data files and consume them directly.
  • Simplify the process of updating the list to add more domains.

How Disposable Addresses are detected?

This library has a list of rules that are used to determine whether an address is disposable or not. The library does not connect to the Internet to determine the kind or the validity of the address. The library may be enhanced in the future to provide applications with ways of explicitly requiring online checks.

Contributing

This library is available as open source with MIT license, so you can use it in both open source and commercial applications. The best ways to contribute back to this library are:

  1. Report service providers that the library should detect but it doesn't. See section below for validating disposeable domains.
  2. Report bugs and feature request in the bug tracker.
  3. Provide ports for the library in languages other than PHP.

To report bugs and feature requests use the associated github bug tracker.

Validating Disposable Domains

Before submitting a PR with new disposable email domains, please validate that such domain are really disposable via the Kickbox service.

In the following URL replace {domain} with your domain (e.g. example.com) and make sure it returns disposable: true.

https://open.kickbox.com/v1/disposable/{domain}

Running Unit Tests

Here is how to run the unit tests:

composer install
vendor/phpunit/phpunit/phpunit php/tests/disposable_email_checker_tests.php

Versioning Scheme

The versioning for this library is formatted as follows "1.2.3".

(1) This is the major version which will change when there are major changes or re-implementation.

(2) This is the minor version which will change when the APIs changes. Most of the time these won't be breaking changes, but sometimes they may be.

(3) This is the data version which is the only one changed in releases that just update the rules that are used to determine that an email address is disposable.

Credits

vboctor/disposable_email_checker 适用场景与选型建议

vboctor/disposable_email_checker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 107.09k 次下载、GitHub Stars 达 45, 最近一次更新时间为 2017 年 05 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「email」 「signup」 「disposable」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 vboctor/disposable_email_checker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 vboctor/disposable_email_checker 我们能提供哪些服务?
定制开发 / 二次开发

基于 vboctor/disposable_email_checker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 107.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 47
  • 点击次数: 23
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 45
  • Watchers: 9
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-22