PHPackages                             ineventapp/neverbounce-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. ineventapp/neverbounce-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ineventapp/neverbounce-php
==========================

This package provides convenient methods to integrate the NeverBounce API into your project.

v4.4.0(6y ago)01.4kMITPHPPHP &gt;=7.1.0

Since Nov 11Pushed 5y agoCompare

[ Source](https://github.com/ineventapp/NeverBounceAPI-PHP)[ Packagist](https://packagist.org/packages/ineventapp/neverbounce-php)[ Docs](https://neverbounce.com)[ RSS](/packages/ineventapp-neverbounce-php/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (3)Versions (35)Used By (0)

[![](https://camo.githubusercontent.com/55919d5d5f83c7c423b0e34f416aae69ac2c8e0397d4c96b86b6cf29648b6a76/68747470733a2f2f6e65766572626f756e63652d6d61726b6574696e672e73332e616d617a6f6e6177732e636f6d2f6e65766572626f756e63655f636f6c6f725f36303070782e706e67)](https://camo.githubusercontent.com/55919d5d5f83c7c423b0e34f416aae69ac2c8e0397d4c96b86b6cf29648b6a76/68747470733a2f2f6e65766572626f756e63652d6d61726b6574696e672e73332e616d617a6f6e6177732e636f6d2f6e65766572626f756e63655f636f6c6f725f36303070782e706e67)

[![Build Status](https://camo.githubusercontent.com/6a466fb4da9ea517c4d997db3eb2da78f4e20088384e1f0545b7f5b50d204463/68747470733a2f2f7472617669732d63692e6f72672f4e65766572426f756e63652f4e65766572426f756e63654150492d5048502e737667)](https://travis-ci.org/NeverBounce/NeverBounceAPI-PHP)[![](https://camo.githubusercontent.com/ed6f534f1588823e75baca87897a8ad48730832ef1a027f917ac35464916d09c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4e65766572426f756e63652f4e65766572426f756e63654150492d5048502f6261646765732f6770612e737667)](https://codeclimate.com/github/NeverBounce/NeverBounceAPI-PHP)[![](https://camo.githubusercontent.com/cdc0feccb03ce58886e112bf60a9af09def59f54e9e1e4fbeabad4a97a3bfabd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65766572626f756e63652f6e65766572626f756e63652d7068702e737667)](https://packagist.org/packages/neverbounce/neverbounce-php)[![](https://camo.githubusercontent.com/c5a856a2305e1c95ce0408bf0eeb886bc1efb7c2cc549573dbdcaf582deb86fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e65766572626f756e63652f6e65766572626f756e63652d7068702e737667)](https://packagist.org/packages/neverbounce/neverbounce-php)

> Looking for the V3 API wrapper? Click [here](https://github.com/NeverBounce/NeverBounceAPI-PHP/tree/v3)

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

### Requirements

[](#requirements)

- PHP 7.1 or greater
- PHP JSON extension
- PHP cURL extension

> For PHP 5.5 - 7.0 use the [4.1](https://github.com/NeverBounce/NeverBounceAPI-PHP/tree/4.1) branch

Installation
============

[](#installation)

Composer 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.4.0"
```

Or add this to your composer.json

```
{
  "require": {
    "neverbounce/neverbounce-php":"~4.4.0"
  }
}
```

and run `composer install`

Manual Installation
-------------------

[](#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
----------------

[](#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):

```
