Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

Validator.php

Table of Contents

Classes

Validator
Validation for component input. Rules are a |-separated string ('required|email|max:120') or a list mixing rule strings and closures fn(mixed $value, string $field): ?string that return an error message or null.
On this page