5 Repos
Libraries providing data and format validation specifically for the PHP runtime.
Distinct from Email Libraries: Candidates were either too narrow (UUIDs) or focused on sending/parsing rather than validating.
Explore 5 awesome GitHub repositories matching programming languages & runtimes · PHP Validation Libraries. Refine with filters or upvote what's useful.
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
A PHP library for verifying email address syntax, format, and DNS records against technical specifications.
This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran
Provides a comprehensive set of runtime validation and assertion tools specifically for the PHP runtime.
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
Provides data validation with chainable rules and detailed error messages for PHP applications.
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
Provides a comprehensive framework for enforcing data integrity and business rules through constraint-based validation in PHP applications.
Diese Bibliothek ist ein PHP-Framework zur Validierung und Bereinigung (Sanitization) eingehender Daten. Es bietet einen strukturierten Ansatz, um sicherzustellen, dass Informationen den erwarteten Formaten und Integritätsanforderungen entsprechen, bevor sie von einer Anwendung verarbeitet oder gespeichert werden. Das Projekt nutzt ein Fluent-Interface zur Konstruktion der Validierungslogik, was die Definition komplexer Regeln durch verkettbare Methoden ermöglicht. Es verwendet ein strategiebasiertes Ausführungsmodell, bei dem einzelne Validierungskomponenten gekapselt und dynamisch Datenfeldern zugewiesen werden können. Wenn eine Validierung fehlschlägt, nutzt das System einen Exception-basierten Ansatz, um strukturiertes Feedback zu spezifischen Regelverletzungen zurückzugeben. Die Bibliothek deckt ein breites Spektrum an Datenverarbeitungsaufgaben ab, einschließlich der Verifizierung von API-Request-Payloads und Web-Formular-Einsendungen. Sie integriert zudem filterbasierte Bereinigung, um unsichere Zeichen aus Rohdaten zu entfernen oder zu modifizieren, was zur Wahrung der Datenintegrität beiträgt und Sicherheitslücken vorbeugt.
Provides a PHP-native library for sanitizing and verifying input data against complex validation rules.