twisted1919/zerobounce
Composer 安装命令:
composer require twisted1919/zerobounce
包简介
ZeroBounce Email Verification Library for PHP
README 文档
README
Getting Started
You will need a zerobounce account to get started.
Once you get an account, you will need to get an api key
to use it in the API calls.
Installation
Make sure you have composer installed.
Require the package
$ composer require twisted1919/zerobounce
PHP Versions
Requires PHP >= 8.2
Usage
<?php // Include Composer autoloader require_once 'vendor/autoload.php'; /** @var ZeroBounce\HttpClient\HttpClient $client */ $client = new ZeroBounce\HttpClient\HttpClient('YOUR-API-KEY'); /** @var ZeroBounce\Api $api */ $api = new ZeroBounce\Api($client); try { /** @var ZeroBounce\Response\ValidateResponse $response */ $response = $api->validate("test@example.com"); } catch (Exception $e) { var_dump($e); }
(see more in the /example folder)
License
MIT
Test
$ composer test
Bug Reports
Report here.
统计信息
- 总下载量: 1.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-25