PHPackages                             genai/validation - 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. genai/validation

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

genai/validation
================

Attribute-based validation compiled to a reflection-free validator. Put #\[NotBlank\]/#\[Email\]/#\[Length\]/#\[Pattern\]/#\[Matches\] on a #\[Validate\] form class; a build-time processor bakes the rules into Cache\\Validation. At runtime, validate a populated form object -&gt; a field=&gt;error map, no reflection. PHP 5.3-safe runtime.

v1.0.1(2d ago)020↑1100%Apache-2.0PHP &gt;=5.3.0

Since Jul 3Compare

[ Source](https://github.com/GenAIIO/php-validation)[ Packagist](https://packagist.org/packages/genai/validation)[ RSS](/packages/genai-validation/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/GenAIIO/php-validation).

###  Release Activity

Cadence

Every ~6 days

Total

2

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25e5bd31b5dd70d47cbdc738bded06dbabfba3d584acce63c2c4b4fb7847f39d?d=identicon)[jinnguyen](/maintainers/jinnguyen)

### Embed Badge

![Health badge](/badges/genai-validation/health.svg)

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

PHPackages © 2026

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