Search by

twisted1919 / zerobounce

twisted1919

Unofficial PHP client for the ZeroBounce email verification API

Package info

github.com/twisted1919/zerobounce-php

pkg:composer/twisted1919/zerobounce

Statistics

Installs: 2 679

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

2.0.2 2026-11-23 12:26 UTC

This package is auto-updated.

Last update: 2026-11-23 12:27:37 UTC


README

Disclaimer

twisted1919/zerobounce is an unofficial PHP client for the ZeroBounce API. If you’re looking for ZeroBounce’s official PHP SDK, use zero-bounce/sdk.

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.