定制 pcf/disposable-email 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pcf/disposable-email

Composer 安装命令:

composer require pcf/disposable-email

包简介

Simple lib to verify is present mail come from disposable or temporary email address domain.

README 文档

README

GitHub version SensioLabsInsight

Our domain repositories come from repository licensed by Public Domain License(CC0 1.0).

Domain repository date: 09.11.2017

This repository is contributed by MIT License but files blocklist.conf and trustlist.conf are contributed by Public Domain License(CC0 1.0).

Basic Usage

<?php

require 'vendor/autoload.php';

use PCF\DisposableEmail\ListedVerifier;
use PCF\DisposableEmail\SimpleDomainCollection;
use PCF\DisposableEmail\Resource\AbstractResourceList;

$collection = new SimpleDomainCollection();
$collection->setBlockedList(AbstractResourceList::getList('block'));
$collection->setTrustedList(AbstractResourceList::getList('trust'));
$collection->setKnownList([
    //Add domains that you know, if you want
]);

$verifier = new ListedVerifier($collection);

$mail = 'paw.radzikowski@gmail.com';
$domain = trim(strstr($mail, '@'), '@');

$status = $verifier->verifyDomain($domain); //It should return ListedVerifier::DOMAIN_UNKNOWN

#Versions

Version of this composer lib looks like 1.0.201707401 which contains Major version. Minor version. Year, day of the year and commit version. It should help with mail repository versioning.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固