PHPackages                             atillaordog/validationwall - 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. atillaordog/validationwall

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

atillaordog/validationwall
==========================

08PHP

Since Oct 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/atillaordog/ValidationWall)[ Packagist](https://packagist.org/packages/atillaordog/validationwall)[ RSS](/packages/atillaordog-validationwall/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ValidationWall
==============

[](#validationwall)

A simple code that breaks down validation into small blocks

The whole idea is to be able to build custom validation as if they were legos. A rule is a lego that can be used together with other rules to build a ruleset. A ruleset is used to check one field from the incoming data. A door on the wall can be built using rulesets. A door is the way trough the Wall, the whole data gets through it by using rulesets defined for every field.

How to use:

```
include('ValidationWall/autoload.php');

// Before the class you need to define the uses
use ValidationWall;
use ValidationWall\RuleSet\PredefRuleset;
use ValidationWall\Door\PredefDoor;
use ValidationWall\Rule\NotEmpty;
use ValidationWall\Rule\Numeric;

// Build a ruleset using rules
$rulesets = array();
$rulesets[] = new PredefRuleset('input_field', array(new NotEmpty(), new Numeric()))

$door = new PredefDoor($rulesets);

$vw = new ValidationWall($door);

if ( $vw->pass($data) )
{
	// Validation passed
}
else
{
	// Validation failed
}
```

To pass a comparison variable, or another field from post for comparison, use the Rule's constructor as seen in predefined examples.

```
$rule = new MaxLength(255);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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://avatars.githubusercontent.com/u/5927119?v=4)[Ördög Atilla](/maintainers/atillaordog)[@atillaordog](https://github.com/atillaordog)

---

Top Contributors

[![atillaordog](https://avatars.githubusercontent.com/u/5927119?v=4)](https://github.com/atillaordog "atillaordog (20 commits)")[![ordogattila](https://avatars.githubusercontent.com/u/3306844?v=4)](https://github.com/ordogattila "ordogattila (2 commits)")

### Embed Badge

![Health badge](/badges/atillaordog-validationwall/health.svg)

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

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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