Search by

keel / validation

AloneCoder

Validation rule attributes (NotBlank, Length, Range, Count, Pattern, Email, Url, Choice). Part of the Keel framework, usable on its own.

v1.7.0 2026-10-29 07:16 UTC

This package is auto-updated.

Last update: 2026-11-04 23:28:43 UTC


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.