PHPackages                             edydeyemi/easyphpvalidation - 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. edydeyemi/easyphpvalidation

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

edydeyemi/easyphpvalidation
===========================

An easy-to-use, lightweight PHP Validation Class

v1.0.1(1mo ago)03MITPHP

Since Jun 6Pushed 1mo agoCompare

[ Source](https://github.com/Edydeyemi/EasyPhpValidation)[ Packagist](https://packagist.org/packages/edydeyemi/easyphpvalidation)[ RSS](/packages/edydeyemi-easyphpvalidation/feed)WikiDiscussions main Synced 1w ago

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

Easy PHP Validation
===================

[](#easy-php-validation)

An easy-to-use, lightweight PHP Validation Class

The following parameters are required-

1. The name of the form field
2. The value to be validated

All validation methods can be chained together i.e.

```
$v->setField('product_category')->required($product_cat_id)->isNumeric()->notGreaterThan(10);
$v->setField('promo_period')->required($promo_period)->isDate()->dateNotBefore('2026-06-01')->dateNotAfter('2026-12-31');
```

Errors are contained in the $error property.

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

[](#installation)

### With Composer

[](#with-composer)

```
composer require Edydeyemi/easyphpvalidation
```

//1. Create a new instance of the Class

```
$v = new EasyPhpValidation(); //Create a new instance of the class
```

//2. Set a field as required

```
$v->setField('product_name', $_POST["product_name"])->required();
```

//3. Check for or output any errors in the validation object

```
print_r($v->errors);
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance93

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Every ~332 days

Total

2

Last Release

36d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22768186?v=4)[Edward Babatunde](/maintainers/Edydeyemi)[@Edydeyemi](https://github.com/Edydeyemi)

---

Top Contributors

[![Edydeyemi](https://avatars.githubusercontent.com/u/22768186?v=4)](https://github.com/Edydeyemi "Edydeyemi (5 commits)")

### Embed Badge

![Health badge](/badges/edydeyemi-easyphpvalidation/health.svg)

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

###  Alternatives

[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3064.3k](/packages/ziming-laravel-zxcvbn)

PHPackages © 2026

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