This library is a PHP framework designed for validating and sanitizing incoming data. It provides a structured approach to ensuring that information conforms to expected formats and integrity requirements before it is processed or stored by an application. The project utilizes a fluent interface to construct validation logic, allowing for the definition of complex rules through chainable methods. It employs a strategy-based execution model where individual validation components are encapsulated and can be dynamically assigned to data fields. When validation fails, the system uses an exception
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
v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It functions as a schema-based validator and an asynchronous validation engine, utilizing a fluent API to construct sequences of chainable rules and constraints. The framework is distinguished by its ability to execute promises and network requests during the validation process to determine if a value is valid. It allows for the creation of reusable validation schemas and provides a customizable rule framework where users can define their own logic and configure how error result
EmailValidator is a PHP library for verifying email address syntax, format, and DNS records against technical specifications. It functions as a logic-based checker to ensure email addresses follow standard global formatting and communication rules. The library includes security utilities to identify deceptive characters and spoofing attempts in email addresses. These anti-spoofing tools analyze email strings for Unicode characters that mimic standard Latin letters to prevent fraudulent impersonation. The project covers domain verification through DNS record checks to confirm a destination se
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.
Les fonctionnalités principales de respect/validation sont : PHP Validation Libraries, Validation Exception Handlers, Exception-Based Error Handling, Single Value Validators, Fluent Validation Rules, Validation Exception Inspectors, Validation Failure Inspectors, Numeric Range Validators.
Les alternatives open-source à respect/validation incluent : aplus-framework/validation — This library is a PHP framework designed for validating and sanitizing incoming data. It provides a structured… symfony/validator — This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and… webmozarts/assert — This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit… egulias/emailvalidator — EmailValidator is a PHP library for verifying email address syntax, format, and DNS records against technical… imbrn/v8n — v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It… elves/elvish — Elvish is a shell that combines interactive command-line use with a structured scripting language, designed to make…