emailreputationapi/reputation 问题修复 & 功能扩展

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

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

emailreputationapi/reputation

最新稳定版本:0.0.4

Composer 安装命令:

composer require emailreputationapi/reputation

包简介

A Laravel package for the EmailReputationAPI.com service.

README 文档

README

EmailReputationAPI.com is a service that helps organizations more effectively manage leads by identifying personal and disposable email addresses and domains. You can use this Laravel package to easily plug into the EmailReputation API validation service and database.

To use this package you'll first need create an EmailReputationAPI.com account. Doing so is free, and you can validate up to 100 email addresses per month. No credit card is required to get started, and you can email the service creator Jason Gilmore (wj@wjgilmore.com) anytime with questions.

Installation

You can install the package via Composer:

composer require emailreputationapi/reputation

Next, publish the config file:

$ php artisan vendor:publish --tag="reputation-config"

This is the contents of the published config file (config/reputation.php):

return [
    'api_key' => env('EMAIL_REPUTATION_API_SECRET'),
    'api_url' => env('EMAIL_REPUTATION_API_URL'),
];

Finally, open your .env file and add the following section:

# EmailReputationAPI.com
EMAIL_REPUTATION_API_SECRET='YOUR_EMAIL_REPUTATION_API_SECRET_KEY'
EMAIL_REPUTATION_API_URL='https://emailreputationapi.com/api/v1/validate'

Usage

$era = new EmailReputationAPI\Reputation\Email;
$valid = $era->validate('jason@hotmail.com');
= {
    +"email": "jason@hotmail.com",
    +"syntax": "valid",
    +"tld": "true",
    +"personal": "false",
    +"disposable": "false",
    +"business": "false",
    +"government": "false",
    +"unknown": "true",
  }

Security Vulnerabilities

Did I do something stupid? Please email me at wj@wjgilmore.com.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固