PHPackages                             chelout/simple-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. chelout/simple-email-validator

ActiveLibrary

chelout/simple-email-validator
==============================

Simple Email Validator

v0.1(5y ago)03MITPHPPHP ^7.4

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chelout/simple-email-validator)[ Packagist](https://packagist.org/packages/chelout/simple-email-validator)[ RSS](/packages/chelout-simple-email-validator/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Simple Email Validator
======================

[](#simple-email-validator)

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

[](#installation)

You can install the package via composer:

```
composer require chelout/simple-email-validator
```

Usage
-----

[](#usage)

```
$validation = new EmailValidator([
    new RegexpRule(),
    new MxRule(),
]);
$validation->validate('user@example.com'); // boolean result
var_dump($validation->getErrors());
```

Custom rules
------------

[](#custom-rules)

To create custom rule, you should implement `Chelout\EmailValidator\Rules\RuleContract`:

```
class FilterVarRule implements RuleContract
{
    public function isValid(string $email): bool
    {
        return ! (filter_var($email, FILTER_VALIDATE_EMAIL) === false);
    }

    public function getError(): string
    {
        return 'Filter Var Rule failed.';
    }
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

2072d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60cfb609b4fa19a2a1688987c6bdd70fe01d7b1cc3ab826593bb5997dc1b926d?d=identicon)[chelout](/maintainers/chelout)

---

Top Contributors

[![chelout](https://avatars.githubusercontent.com/u/9196257?v=4)](https://github.com/chelout "chelout (6 commits)")

### Embed Badge

![Health badge](/badges/chelout-simple-email-validator/health.svg)

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

PHPackages © 2026

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