nexmailpro/php-sdk 问题修复 & 功能扩展

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

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

nexmailpro/php-sdk

Composer 安装命令:

composer require nexmailpro/php-sdk

包简介

Standalone PHP SDK for the NexMailPro email verification API.

README 文档

README

Standalone PHP SDK for the NexMailPro email verification API.

Endpoint

This SDK targets:

POST https://nexmailpro.com/api/v1/verify/email

Requirements

  • PHP 8.2+

Installation

composer require nexmailpro/php-sdk

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use NexMailPro\PhpSdk\Client;

$client = new Client(apiKey: 'your-api-key');

$response = $client->verifyEmail('user@example.com', [
    'source' => 'signup-form',
]);

var_dump($response);

API

verifyEmail(string $email, array $payload = []): array

Sends a JSON POST request to /api/v1/verify/email. The $email argument is always included in the request payload as the email field.

Testing

If this package has not been installed with Composer yet, you can still run the test suite by pointing PHPUnit at the bundled config:

php /path/to/phpunit -c phpunit.xml.dist

Once dependencies are installed locally, you can also use:

composer test

License

MIT

Webhook verification test - 2026-07-02 10:01:10 UTC

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固