Skip to content
This package provides convenient methods to integrate the NeverBounce API into your project.
Branch: master
Clone or download
mmollick Ensure headers are not case sensitive coming from server (#29)
* Ensure headers are not case sensitive coming from server

* Enforcing expected response type

* Fixing indentation
Latest commit 333ffb7 Dec 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Fix disabled creditsinfo (#22) Dec 21, 2017
src Ensure headers are not case sensitive coming from server (#29) Dec 12, 2018
tests Ensure headers are not case sensitive coming from server (#29) Dec 12, 2018
.codeclimate.yml
.gitignore Updating gitignore and composer.json May 10, 2017
.travis.yml Adding notification channel to travis Aug 8, 2017
LICENSE
README.md Update README.md Oct 26, 2017
VERSION
composer.json
phpunit.xml Started framworking out the test Feb 16, 2016

README.md

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.

Requirements

  • PHP 5.5 or greater
  • PHP JSON extension
  • PHP cURL extension

Installation

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.1.0"

Or add this to your composer.json

{
  "require": {
    "neverbounce/neverbounce-php":"~4.1.0"
  }
}

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 https://github.com/creavos/NeverBounceAPI-PHP

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):

<?php

$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
You can’t perform that action at this time.