https://github.com/neverbounce/neverbounceapi-php
This package provides convenient methods to integrate the NeverBounce API into your project.
https://github.com/neverbounce/neverbounceapi-php
email email-validation email-verification php validation verification
Last synced: 5 months ago
JSON representation
This package provides convenient methods to integrate the NeverBounce API into your project.
- Host: GitHub
- URL: https://github.com/neverbounce/neverbounceapi-php
- Owner: NeverBounce
- License: mit
- Created: 2014-11-10T22:55:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T21:55:22.000Z (over 2 years ago)
- Last Synced: 2026-01-15T03:36:18.284Z (5 months ago)
- Topics: email, email-validation, email-verification, php, validation, verification
- Language: PHP
- Size: 155 KB
- Stars: 24
- Watchers: 10
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

> 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
* 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
============
Composer Installation
---
This package takes advantage of composer's autoloading features, following the PSR-4 guidelines.
To install using composer you can run
``` bash
composer require "neverbounce/neverbounce-php":"~4.5.0"
```
Or add this to your composer.json
``` php
{
"require": {
"neverbounce/neverbounce-php":"~4.5.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