keel / validation
Validation rule attributes (NotBlank, Length, Range, Count, Pattern, Email, Url, Choice). Part of the Keel framework, usable on its own.
v1.5.0
2026-10-22 05:33 UTC
Requires
- php: >=8.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Attribute rules implementing Keel\Validation\Rule::check(mixed): ?string: NotBlank, Length,
Range, Count, Pattern, Alnum, Email, Url, Uuid, Ip, Hostname, Date, Json,
Timezone, Choice, Unique and Each (rules per array item). The Keel hydrator runs them on DTO
constructor parameters; any code can call check() directly. Read-only split of
AloneCoder/keel.