PHPackages                             abstractapi/php-email-validation - 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. abstractapi/php-email-validation

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

abstractapi/php-email-validation
================================

AbstractEmailValidation - Wrapper to quickly start using the powerful AbstractAPI's email validation service in your projects.

1.0.0(5y ago)12.3kMITPHPPHP &gt;=5.6

Since Apr 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/abstractapi/php-email-validation)[ Packagist](https://packagist.org/packages/abstractapi/php-email-validation)[ Docs](https://github.com/abstractapi/php-email-validation)[ RSS](/packages/abstractapi-php-email-validation/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

AbstractAPI php-email-validation library
========================================

[](#abstractapi-php-email-validation-library)

Integrate the powerful [email validation API from Abstract](https://www.abstractapi.com/email-verification-validation-api) in your PHP project in a few lines of code.

Abstract's Email Validation and Verification API is a fast, lightweight, modern, and RESTful JSON API for determining the validity and other details of email addresses.

It's very simple to use: you only need to submit your API key and an email address, and the API will respond an assessment of its validity, as well as additional details like quality score if it's a disposable email, a catchall address, and more.

Validating and verifying email addresses is a critical step to reducing the chances of low-quality data and fraudulent or risky users in your website or application.

Documentation
=============

[](#documentation)

Supported PHP Versions
----------------------

[](#supported-php-versions)

This library supports the **PHP version 5.6** and higher.

Installation
------------

[](#installation)

You can install **php-email-validation** via composer or by downloading the source.

### Via Composer:

[](#via-composer)

**php-email-validation** is available on Packagist as the [`abstractapi/php-email-validation`](https://packagist.org/packages/abstractapi/php-email-validation) package:

```
composer require abstractapi/php-email-validation
```

API key
-------

[](#api-key)

Get your API key for free and without hassle from the [Abstact website](https://app.abstractapi.com/users/signup?target=/api/email-validation/pricing/select).

Quickstart
----------

[](#quickstart)

### Verify email

[](#verify-email)

```
// Verify email using Abstract's Email Validation and Verification API and PHP
