Micro Dream Form Validate
Enhanced form validate - Manage validate scene

Micro Dream Form ValidateSimple and elegant validation
A lightweight, flexible, high-performance PHP form validation library with scene-based management, keeping your validation logic clear and maintainable.
Core Capabilities
Easily configure complex yet clear validation logic
It transitions from rules and scenarios to message feedback, handles data processing and type conversion, and remains simple, stable, and maintainable while being centered around real‑world business forms.
Rules Management
Conveniently manage, generate, and extract validation rules. Supports built-in rules, custom rules, and private rules to meet various validation scenarios.
40+ built-in validation rules covering common data types, format comparison, file uploads, and more. Supports rule parameter parsers for more flexible rule definitions.
Validation Scenes
Combine validation rules arbitrarily and generate appropriate validation rules dynamically. Different business scenarios use different field combinations — define once, reuse everywhere.
Supports scene-based validation management. Flexibly switch between login, registration, password change, and other scenarios, significantly reducing duplicate code.
Error Messages
Multiple error message definition methods, default rule messages, and support for variables to make your interactions clearer.
Supports custom error message templates, multi-language messages, field aliases, and other advanced features for user-friendly error prompts.
Quick Install
$ composer require itwmw/validateClick to copy