NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #4351 most downloaded on Packagist
A lightweight collection of reusable validators for Utopia projects
Last release 1 months ago
02 Sep 2026
Release timing varies
gaps range from 1 weeks to 3 months
Most releases are documented
notes for 14 of 23 stable releases
Nothing withdrawn
no release was ever pulled
11 months old
23 releases · first in 2025
One column per month.
chore: stop committing package lock files
Changes: utopia-php/monorepo@validators/1.0.0...validators/1.0.1
No changes to this package since validators/0.7.0.
Changes: utopia-php/monorepo@validators/0.7.0...validators/1.0.0
fix(validators): Assoc declares an object, not an array
Changes: utopia-php/monorepo@validators/0.6.0...validators/0.7.0
fix(validators): apply automated code checks
Changes: utopia-php/monorepo@validators/0.5.0...validators/0.6.0
validators: let Text require non-blank values
Changes: utopia-php/monorepo@validators/0.4.2...validators/0.5.0
fix(validators): reject trailing newline in Identifier
Changes: utopia-php/monorepo@validators/0.4.1...validators/0.4.2
Identifier validator. Extends Text and additionally requires a C-style
identifier (^[A-Za-z_][A-Za-z0-9_]*$): letters, digits and underscores only,
not starting with a digit. This is the shape required of environment variable
names and shell identifiers, so a value that passes a plain length check but
contains a tab, a space or an accented letter is rejected. Accepts an optional
int $length (0 = unlimited); minimum length is 1.No changes to this package since validators/0.4.0.
Changes: utopia-php/monorepo@validators/0.4.0...validators/0.4.1
feat(validators): add phone validator
Changes: utopia-php/monorepo@validators/0.3.2...validators/0.4.0
Phone validator for E.164 phone number syntax. It validates values with a
leading + followed by 7 to 15 digits, supports optional empty strings through
allowEmpty, and can opt in to URL/path recovery through normalize.feat(validators): add JSON object and array shape validators
Changes: utopia-php/monorepo@validators/0.3.1...validators/0.3.2
JSON\ObjectValidator and JSON\ArrayValidator validators for JSON shape checks.
Both accept decoded values or encoded JSON strings while preserving the distinction between
objects and arrays.chore(validators): align changelog heading to 0.3.1 release
Changes: utopia-php/monorepo@validators/0.3.0...validators/0.3.1
bool $httpsOrLoopback = false (kept last
in the signature). When enabled, a standard (authority-bearing, non-private-use)
URL is valid only if its scheme is https on any host, or http on a loopback
host (localhost, 127.0.0.1, or [::1]); every other standard scheme and any
routable http host is rejected (RFC 8252 §7.3). Private-use scheme URIs
(governed by allowPrivateUseSchemes) are exempt. The flag is self-contained and
independent of allowedSchemes — when both are set, a value must satisfy both.
getDescription() reflects the restriction when the flag is on.The change is backward compatible: httpsOrLoopback defaults to false, so
existing callers are unaffected, and the behavior of allowedSchemes and
allowPrivateUseSchemes (including how allowedSchemes restricts which
private-use schemes are accepted) is unchanged.
chore(validators): conform package to PHP 8.5 rector/pint rule sets
Changes: utopia-php/monorepo@validators/0.2.8...validators/0.3.0
refactor: apply baseline rector to packages that lacked a config
Changes: utopia-php/monorepo@validators/0.2.7...validators/0.2.8
refactor(monorepo): simplify absorb/sync flows (-635 LoC)
Changes: utopia-php/monorepo@validators/0.2.6...validators/0.2.7
First release cut from the utopia-php monorepo .
First release cut from the utopia-php monorepo.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →