PHPackages                             ahmedofali/php-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ahmedofali/php-email-validator

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

ahmedofali/php-email-validator
==============================

PHP Library to Verify if email address exists on the mail server

0.1.1(8y ago)251MITPHPPHP &gt;=5.6.0

Since Oct 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ahmedofali/php-email-validator)[ Packagist](https://packagist.org/packages/ahmedofali/php-email-validator)[ RSS](/packages/ahmedofali-php-email-validator/feed)WikiDiscussions master Synced 1mo ago

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

PHP Verify Email
================

[](#php-verify-email)

[![Build Status](https://camo.githubusercontent.com/4298f72bfe6bbdf82cb3358b8acbe6c0f912472e3284d980afafcb822891a2d2/68747470733a2f2f7472617669732d63692e6f72672f61686d65646f66616c692f7068702d656d61696c2d76616c696461746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ahmedofali/php-email-validator) [![Coverage Status](https://camo.githubusercontent.com/67329845df28bc66f24b366e0ac60234b81bce536485be331396b31c2b241774/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61686d65646f66616c692f7068702d656d61696c2d76616c696461746f722f62616467652e737667)](https://coveralls.io/github/ahmedofali/php-email-validator)

Is a php library for validating Emails and make sure the email is valid This library Inspired from hbattat/verifyEmail.

Installation:
=============

[](#installation)

```
composer require ahmedofali/php-email-validator

```

How to Use it:
==============

[](#how-to-use-it)

```
require "vendor/autoload.php";

use PHPVerifyEmail\PHPVerifyEmail;

$email = 'dev.ahmed.abbass@gmail.com';
$verify_email = 'mohamedattya@gmail.com';
$port = 25;
$verification = PHPVerifyEmail::verify( $email, $verify_email, $port );

---------------------
// print log
---------------------
print_r( $verification->getLog() );

---------------------
// print Result
---------------------
print_r( $verification->getResult() );
```

Test Cases:
===========

[](#test-cases)

From Terminal write:

```
composer test

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3129d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

0.1.1PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f723cb3d4ed1fdb01802c25ffd61029591880666cbf8daaf13d5da997b8d8fe?d=identicon)[ahmedofali](/maintainers/ahmedofali)

---

Top Contributors

[![ahmedofali](https://avatars.githubusercontent.com/u/22732463?v=4)](https://github.com/ahmedofali "ahmedofali (31 commits)")

---

Tags

emailmx-recordphpvalidationyahoovalidationemailservicefreephpValidateEmailahmedofali

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ahmedofali-php-email-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedofali-php-email-validator/health.svg)](https://phpackages.com/packages/ahmedofali-php-email-validator)
```

###  Alternatives

[egulias/email-validator

A library for validating emails against several RFCs

11.6k691.3M307](/packages/egulias-email-validator)[kickbox/kickbox

Official kickbox API library client for PHP

591.0M4](/packages/kickbox-kickbox)[verifalia/sdk

Verifalia provides a simple HTTPS-based API for validating email addresses and checking whether they are deliverable or not. This library allows to easily integrate with Verifalia and verify email addresses in real-time.

4349.8k](/packages/verifalia-sdk)[dominicsayers/isemail

Checks an email address against the following RFCs: 3696, 1123, 4291, 5321, 5322

308134.4k3](/packages/dominicsayers-isemail)[arubacao/tld-checker

Top Level Domain (TLD) validation library for PHP

721.6M2](/packages/arubacao-tld-checker)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
