symfony/validator
Provides tools to validate values observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5671
- days_rel: 11
- days_push: 7
- n_releases_24m: 96
Adoption not part of the score
2681 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The Symfony Validator component provides tools to validate values against configurable rules (constraints), following the JSR-303 Bean Validation specification. It is a standalone PHP library usable in any PHP project, not just Symfony applications.
Use cases
- validate form input in a php application
- validate objects before writing to a database
- add validation rules to php class properties
- validate api request payloads in php
- check string length, email format, and other constraints on values
- validate doctrine entities
When to choose
- you need robust, battle-tested data validation in a PHP project
- you want a standards-based constraint system with many built-in validators
- you use Symfony, Laravel, or Drupal and need interoperable validation
When to avoid
- you need validation in a non-PHP language
- you want a schema-based validator for raw JSON documents rather than object properties
Facets
library · maturity stable
middleware form-handling developer-tools web-development backend developer-tools php cross-platform validation constraints bean-validation symfony-component data-validation
6 sources
- readme: https://github.com/symfony/validator · fetched 2026-08-28 · 4be5707f1683
- homepage: https://symfony.com/validator · fetched 2026-08-29 · 7a0f08f8bf9b
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/validation.html · fetched 2026-08-29 · 6f77c1b85517
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 83b70dd163fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/validator | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="symfony/validator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem