Libraries tagged by coerce
php-standard-library/type
101733 Downloads
Runtime type validation implementing Parse, Don't Validate - coerce and assert unstructured input into well-typed data
healthengine/coerce
47439 Downloads
Try to coerce mixed values into desired types or die trying
structr/structr
14113 Downloads
Validate and coerce complex data structures to conform to a specification
madison-solutions/coerce
6152 Downloads
Functions for coercing values to various data types
qtlenh/laravel-strict-validator
6008 Downloads
Add type constraints and coerce input types during validation
nberces/coerce
2870 Downloads
A utility class that straddles the line between validation and sanitization.
gladehq/php-coerce
0 Downloads
Safe, predictable type coercion for PHP. If it can't convert meaningfully, return null — never guess.
jascree/try-cast
10 Downloads
Safe type coercion for PHP – returns null on failure, no exceptions, no dependencies.
tonglil/localize
784 Downloads
A library to localize location-based attributes and coerce values into desired formats based on regular expressions.
polyprism/runtime
1 Downloads
Runtime helpers for PolyPrism's PHP domain-class emitter — Coerce + Normalise utilities used by generated property-hook setters. Zero third-party dependencies.
phprise/common-cast
0 Downloads
Common type coercers for type conversion based on OTAKU philosophy
foorg/moose
18 Downloads
Moose - l[oose] object [m]apper. It allows you to map arbitrary data to objects, trying to coerce values to given types and failing gracefully with a list of validation errors. This is useful for consuming or writing APIs where incoming data can be of invalid format or type.
duffleman/vrm
144 Downloads
Coerces, validates and prettifies vehicle registration marks (VRMs)
jgrossi/corcel
1908223 Downloads
Use WordPress backend with Laravel or any PHP framework
geraintluff/jsv4
465747 Downloads
A (coercive) JSON Schema v4 Validator for PHP