vlucas/valitron
Valitron is a simple, elegant, stand-alone validation library with NO dependencies observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4966
- days_rel: n/a
- days_push: 869
- n_releases_24m: 0
Adoption not part of the score
1604 stars · 249 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Valitron is a lightweight, standalone input validation library for PHP with zero dependencies. It provides a simple, fluent rule-based API for validating arrays of data such as $_POST input, with support for custom validation rules and dot-notation access to nested arrays.
Use cases
- validate form input in php
- validate $_POST data before saving
- check required fields and email format in php
- validate nested arrays with dot syntax
- add custom validation rules without dependencies
- lightweight php validation library for small projects
When to choose
- you need a dependency-free validation library for a PHP project
- you want simple, readable validation rules applied in a single call
- you are validating plain arrays like form submissions or JSON-decoded data
- you need to extend validation with custom callback rules
When to avoid
- you need framework-integrated validation with ORM or request object support
- you require advanced features like conditional rule groups or schema-based validation
- your project already uses a full-featured framework validator like Laravel's or Symfony's
Facets
library · maturity active
form-handling developer-tools web-development backend developer-tools php cross-platform validation validator data-validation zero-dependencies input-validation form-validation
1 source
- readme: https://github.com/vlucas/valitron · fetched 2026-08-28 · 7213f56f1064
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vlucas/valitron | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem