PHPackages                             imranali/verify-email - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. imranali/verify-email

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

imranali/verify-email
=====================

Verify email if it exist or not

14PHP

Since Nov 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/grim-reapper/verify-email)[ Packagist](https://packagist.org/packages/imranali/verify-email)[ RSS](/packages/imranali-verify-email/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Verify Email
------------

[](#verify-email)

This is a simple package that verify email if it is exist or not, This is useful for those who want to get real Email address from users. Get real email address while registering users, for app or newsletter. You can also check email is exist or not before sending email to users. It prevents from black listing your server, or hard bouncing .

- Save you from hard bouncing
- Most of the companies buy SMTP email subscritpion, they have limited credits, you can use this simple package to save your email credits

### 1. Requirements

[](#1-requirements)

- Laravel 5.5.x to 6.0.x
- PHP &gt;= 7.0

### 2. Installation

[](#2-installation)

1. Require the package using composer

    ```
    composer require imranali/verify-email
    ```
2. Add the service provider to the `providers` in `config/app.php`

    ```
    ImranAli\VerifyEmail\VerifyEmailServiceProvider::class
    ```

    and add `Facade` as alias in `app/config.php`

    ```
    'Verifyemail' => ImranAli\VerifyEmail\Facades\verifyEmailFacade::class,
    ```

    > Laravel 5.5 &gt;= uses package auto discovery, so you do not need to register service provider and Facade manually
3. Publish the configuration

    ```
    php artisan vendor:publish --provider="ImranAli\VerifyEmail\VerifyEmailServiceProvider"
    ```

### 3. Usage

[](#3-usage)

You have to call `checkEmail()` method, it takes one argument which is email address that needs to be validate

```
Verifyemaill::checkEmail('test@example.com');
```

It returns `true` if email exist otherwise `false`

This package comes with few configuration, You can change settings accordingly, configuration contains one field `from_email` make sure to set valid email address, because this email address will be used to sent request from.

You can also set email at runtime for example using `Facade`

```
Verifyemail::setEmailFrom('support@domain.com');
```

It also has one helper method that can be used to validate email address pattern

```
Verifyemail::validate('example@domain.com')
```

Here is a complete demo code

```
// can also be set email at runtime (optional), it is good to set in config file
Verifyemail::setEmailFrom('support@domain.com');

// email address to check
$email = 'exampl@domain.com';
if (Verifyemail::checkEmail($email)) {
    echo 'email  exist!';
} elseif (Verifyemail::validate($email)) {
    echo 'email  valid, but not exist!';
} else {
    echo 'email  not valid and not exist!';
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7252105628ffa6f064585370161626c7c72e68dd2e74ee66aa50d5894543c183?d=identicon)[webz2feel](/maintainers/webz2feel)

---

Top Contributors

[![grim-reapper](https://avatars.githubusercontent.com/u/7957389?v=4)](https://github.com/grim-reapper "grim-reapper (8 commits)")

### Embed Badge

![Health badge](/badges/imranali-verify-email/health.svg)

```
[![Health](https://phpackages.com/badges/imranali-verify-email/health.svg)](https://phpackages.com/packages/imranali-verify-email)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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