For a library for validating data in PHP, the strongest matches are symfony/validator (This library is a comprehensive, PSR-compliant validation engine that), respect/validation (Respect/Validation is a comprehensive PHP library that provides a) and vlucas/valitron (Valitron is a lightweight, dependency-free PHP validation library that). cakephp/validation is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.
Curamos repositorios de código abierto en GitHub que coinciden con “best php validation libraries”. Los resultados están clasificados por relevancia según tu búsqueda; usa los filtros de abajo para acotar o refina con IA.
This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and complex object structures against predefined constraints. It provides a structured approach to inspecting object graphs and property metadata, ensuring that data conforms to expected requirements before it is processed by an application. The framework distinguishes itself through a metadata-driven mapping system that uses reflection or configuration files to apply rules directly to object properties. It supports contextual rule orchestration, allowing developers to organize constrai
This library is a comprehensive, PSR-compliant validation engine that supports schema-based object mapping, custom constraint rules, and localized error reporting, making it a flagship tool for data integrity in PHP.
Respect/Validation is a PHP validation library that operates on single input values through a fluent, chainable rule system. Each validator instance builds a linear constraint pipeline by appending rules to an internal stack, executing them sequentially and short-circuiting on the first failure. The library captures validation failures as structured exceptions, enabling callers to inspect detailed error metadata programmatically and respond with meaningful messages. The library distinguishes itself through its exception-based error handling model, which provides programmatic access to validat
Respect/Validation is a comprehensive PHP library that provides a highly fluent, chainable API for building complex validation rules, making it a flagship tool for validating data structures and user input.
Valitron is a simple, elegant, stand-alone validation library with NO dependencies
Valitron is a lightweight, dependency-free PHP validation library that provides a fluent API and support for custom rules, making it a solid choice for validating user input.
READ-ONLY Validation library from CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp
This library provides a robust, schema-based validation system with support for custom rules and a fluent API, making it a direct fit for your data validation needs in PHP.