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.5.0 2026-10-22 05:33 UTC

This package is auto-updated.

Last update: 2026-10-22 08:53:29 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.