PHPackages                             devmuhammad/company-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. devmuhammad/company-email-validator

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

devmuhammad/company-email-validator
===================================

A fast and efficient company/work email validator that checks if an email domain belongs to a free email provider.

v1.0.2(1y ago)933MITPHPPHP ^8.2

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/devMuhammad05/company-email-validator)[ Packagist](https://packagist.org/packages/devmuhammad/company-email-validator)[ RSS](/packages/devmuhammad-company-email-validator/feed)WikiDiscussions main Synced 1mo ago

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

**Company Email Validator**
===========================

[](#company-email-validator)

A fast and efficient company/work email validator that checks if an email domain belongs to a free email provider.

[![Packagist Version](https://camo.githubusercontent.com/eb1969418b54492e4844fe9e8a1e2f2430105300efcf813e3b24867db05636fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465766d7568616d6d61642f636f6d70616e792d656d61696c2d76616c696461746f72)](https://packagist.org/packages/devmuhammad/company-email-validator) [![Total Downloads](https://camo.githubusercontent.com/bd1db2d121fba4413d85a06ac9c11b32b4c2368f29aac4be89435ffa213114af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465766d7568616d6d61642f636f6d70616e792d656d61696c2d76616c696461746f72)](https://packagist.org/packages/devmuhammad/company-email-validator) [![License](https://camo.githubusercontent.com/46594e6307994315b026a02b31baece5716c25be36fd3bce54614ed3a4e31fb2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465766d7568616d6d61642f636f6d70616e792d656d61696c2d76616c696461746f72)](https://packagist.org/packages/devmuhammad/company-email-validator)

---

**Installation**
----------------

[](#installation)

Install via Composer:

```
composer require devmuhammad/company-email-validator
```

Usage
-----

[](#usage)

#### Validate a single email

[](#validate-a-single-email)

```
    use Muhammad\CompanyEmailValidator\EmailValidator;

    $validator = new EmailValidator();
    $validator->isCompanyEmail("test@utterly.app");  //true
    $validator->isCompanyEmail("test@gmail.com");  //false
```

#### Validate multiple emails

[](#validate-multiple-emails)

```
    use Muhammad\CompanyEmailValidator\EmailValidator;

    $validator = new EmailValidator();
    $validator->areCompanyEmails(["test@utterly.app", "test@gmail.com"]);

    Output(array):
        [
            "test@utterly.app" => true,
            "test@gmail.com" => false
        ]
```

#### Validate emails against a custom free domain list

[](#validate-emails-against-a-custom-free-domain-list)

```
    use Muhammad\CompanyEmailValidator\EmailValidator;

    $email = "user@customfree.com";
    $validator = new EmailValidator(['customfree.com']);
    $validator->isCompanyEmail($email);  //false
```

Contribution
------------

[](#contribution)

Contributions are welcome! Feel free to submit an issue or a pull request.

Check the `LICENSE` file for more info.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance45

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~3 days

Total

3

Last Release

429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb26df3669f50bba4ae0aaaa7679c7011e889bc326c98709c1b81e7c3b2018ae?d=identicon)[muhammad05](/maintainers/muhammad05)

---

Top Contributors

[![devMuhammad05](https://avatars.githubusercontent.com/u/101328329?v=4)](https://github.com/devMuhammad05 "devMuhammad05 (14 commits)")

---

Tags

company-email-validationemailemail-validationwork-email-validationphpemail validatorcompany email validatorbusiness email validatorwork email validatoremail domain validator

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/devmuhammad-company-email-validator/health.svg)

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

###  Alternatives

[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[henrique-borba/php-sieve-manager

A modern (started in 2022) PHP library for the ManageSieve protocol (RFC5804) to create/edit Sieve scripts (RFC5228). Used by Cypht Webmail.

23125.7k2](/packages/henrique-borba-php-sieve-manager)[tomatophp/filament-accounts

Manage your multi accounts inside your app using 1 table with multi auth and a lot of integrations

748.3k7](/packages/tomatophp-filament-accounts)[djunehor/laravel-sms

Send SMS from your laravel application

385.3k1](/packages/djunehor-laravel-sms)

PHPackages © 2026

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