Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Build Status

Looking for the V3 API wrapper? Click here

This is the official NeverBounce API PHP wrapper. It provides helpful methods to quickly implement our API in your existing php applications.


  • PHP 7.1 or greater
  • PHP JSON extension
  • PHP cURL extension

For PHP 5.5 - 7.0 use the 4.1 branch


Composer Installation

This package takes advantage of composer's autoloading features, following the PSR-4 guidelines.

To install using composer you can run

composer require "neverbounce/neverbounce-php":"~4.5.0"

Or add this to your composer.json

  "require": {

and run composer install

Manual Installation

You can clone the repo directly and include the files yourself via an auto loader. Keep in mind that this package does follow the PSR-4 spec. git clone

Running Examples

First clone or download the repository to your local machine and install the composer dependencies. Once the composer dependencies are installed create a new file in the project's root directory called .api-key.php with the following contents (adding your own API key):


$api_key = "secrete_api_key_goes_here";

With the API key file created you can now run the examples contained within the example/ directory.

php examples/account-info.php