2017 © Pedro Peláez
 

library emailoversight-php

Simple PHP wrapper for EmailOversight API

image

bcismariu/emailoversight-php

Simple PHP wrapper for EmailOversight API

  • Friday, November 11, 2016
  • by bcismariu
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,391 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 38 % Grown

The README.md

EmailOversight API in PHP

EmailOversight is a set of powerful tools that enable you to take your data management and email campaigns to the next level., (*1)

This is a simple PHP implementation of the API calls., (*2)

Installation

Update your composer.json file, (*3)

{
    "require": {
        "bcismariu/emailoversight-php": "0.*"
    }
}

Run composer update, (*4)

Usage

use Bcismariu\EmailOversight\EmailOversight;

$validator = new EmailOversight('YOUR_API_KEY');
$result = $validator->emailValidation('client.email@domain.com', 'your_list_id');

Read the official API for more details regarding parameters and responses., (*5)

In order to help with multiple queries, you can also pass your listId to the constructor:, (*6)

$validator = new EmailOversight([
        'apitoken'  => 'YOUR_API_KEY',
        'listid'      => 'your_list_id'
    ]);

$result1 = $validator->emailValidation('first.client@domain.com');
$result2 = $validator->emailValidation('second.client@domain.com');

Return Email validation Boolean, (*7)

$validEmail = $validator->isVerified($result);

use example:
if($validEmail) {
 // Good Email
}else {
 // Bad Email
}

Contributions

This is a very basic implementation that can only handle email validations. Any project contributions are welcomed!, (*8)

The Versions

11/11 2016

dev-master

9999999-dev

Simple PHP wrapper for EmailOversight API

  Sources   Download

MIT

by Bogdan Cismariu

11/11 2016

v0.0.2

0.0.2.0

Simple PHP wrapper for EmailOversight API

  Sources   Download

MIT

by Bogdan Cismariu

15/01 2016

v0.0.1

0.0.1.0

Simple PHP wrapper for EmailOversight API

  Sources   Download

MIT

by Bogdan Cismariu