PHPackages                             knyga/evalidator - 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. knyga/evalidator

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

knyga/evalidator
================

0.0.3(5y ago)01331MITPHPPHP &gt;=7.4CI failing

Since Oct 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/knyga/yii2-evalidator)[ Packagist](https://packagist.org/packages/knyga/evalidator)[ RSS](/packages/knyga-evalidator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

See tests.

```
$m = new EValidator([
	['email', 'email']
]);
// $m->setData([
// 	'email' => 'something'
// ]);
$object = new \StdClass;
$object->email = 'something';
$m->setData($object);

/**
* false
*/
var_dump($m->validate());

/**
* array(1) {
*   ["email"]=>
*   array(1) {
*     [0]=>
*     string(35) "Email is not a valid email address."
*   }
* }
*/
var_dump($m->getErrors());

$m->setData([
	'email' => 'something@gmail.com'
]);

/**
* true
*/
var_dump($m->validate());
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~948 days

Total

3

Last Release

1967d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

0.0.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2018b1cb1cfeba7430637ce78f33b8cdc4ed43df995f0000fd16a967897c596a?d=identicon)[knyga](/maintainers/knyga)

---

Top Contributors

[![knyga](https://avatars.githubusercontent.com/u/3603431?v=4)](https://github.com/knyga "knyga (6 commits)")[![SergeyKoz](https://avatars.githubusercontent.com/u/10790377?v=4)](https://github.com/SergeyKoz "SergeyKoz (3 commits)")[![wbarcovsky](https://avatars.githubusercontent.com/u/5498761?v=4)](https://github.com/wbarcovsky "wbarcovsky (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/knyga-evalidator/health.svg)

```
[![Health](https://phpackages.com/badges/knyga-evalidator/health.svg)](https://phpackages.com/packages/knyga-evalidator)
```

###  Alternatives

[borales/yii2-phone-input

Yii2 International telephone numbers - Asset Bundle, Behavior, Validator, Widget

1341.6M6](/packages/borales-yii2-phone-input)[codeonyii/yii2-at-least-validator

Validates at least one (or more) attributes.

28253.5k1](/packages/codeonyii-yii2-at-least-validator)[arogachev/yii2-many-to-many

Many-to-many ActiveRecord relation for Yii 2 framework

3541.2k4](/packages/arogachev-yii2-many-to-many)[yiibr/yii2-br-validator

Provide validations and features for brazilian localization

14103.2k4](/packages/yiibr-yii2-br-validator)[yii2mod/yii2-validators

Collection of useful validators for Yii Framework 2.0

1816.8k](/packages/yii2mod-yii2-validators)

PHPackages © 2026

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