PHPackages                             jonathanport/genuine-email-validator - 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. jonathanport/genuine-email-validator

ActiveLaravel-service

jonathanport/genuine-email-validator
====================================

A Laravel 5 Service to easily validate and verify if an Email Address is genuine or not. Uses the free MailboxLayer API (Quotas Apply).

11PHP

Since Jun 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/JonathanPort/genuine-email-validator)[ Packagist](https://packagist.org/packages/jonathanport/genuine-email-validator)[ RSS](/packages/jonathanport-genuine-email-validator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

A simple Laravel 5 Service to easily validate and verify if an Email Address is genuine or not. Uses the free MailboxLayer API (Quotas Apply).

Requirements
============

[](#requirements)

- Laravel 5
- PHP 7
- Guzzle ^6.3
- Mailbox Layer Account

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

[](#installation)

`composer require JonathanPort/genuine-email-validator`

Usage
=====

[](#usage)

Before using, make sure to add your Mailbox Layer API key into your project's .env under: `MAILBOXLAYER_KEY`. Alternatively, you can pass the key through to the class when making a new instance:

```
$service = new GenuineEmailValidator($key = 'YOUR_KEY_HERE');
```

To use the service, create a new instance of the service or pass the service as a controller method parameter via dependency injection.

The service contains two public methods:

```
