Libraries tagged by array casts
zakirullin/mess
31306 Downloads
Convenient array-related routine & better type casting
inspirum/xml
13191 Downloads
Simple XML writer and memory efficient XML reader with powerful xml-to-array cast
aveiv/mixed-value
130476 Downloads
MixedValue provides easy array access and the ability to convert/cast values
sbwerewolf/language-specific
24370 Downloads
Read nested arrays safely and cast values predictably in PHP 8.4+
wplake/typed
1270 Downloads
Lightweight PHP utility for seamless type-casting and data retrieval from dynamic variables, arrays, and objects.
ghanuz/relations
5549 Downloads
To create a Eloquent relationships with comma separated foreign key or using a FIND_IN_SET mysql function.
zakirullin/typed-accessor
6 Downloads
Convenient array-related routine & better type casting
lgouttefange/beavor
16653 Downloads
Lightweight library to cast array/std classes (generally as a result fo an api response) to a DTO class
stahiralijan/request-caster
79 Downloads
This package intercepts Laravel Form Submits after successful validation and provides useful function and also casts the submitted form data accordingly e.g. Upper-case first Characters of Words, Capitalized them, and checkbox value "1" to boolean, JSON string to PHP Array conversions etc.
eboreum/caster
8646 Downloads
Cast any PHP value to a sensible, human readable string. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing endless, circular referencing objects (endless recursion), limits the output for large arrays and long strings, and prevents (opt-in) the outputting of sensitive strings like passwords.
coder-at-heart/object-models
2041 Downloads
Add schema, control and cast php json as objects and arrays for Laravel projects
cerbero/transformer
543 Downloads
Transform, manipulate, cast and map objects and arrays.
koda/koda
33736 Downloads
Utility classes for analyse code and invoking callables with verification of arguments and type casting
danbettles/morf
970 Downloads
Morf was designed to filter request-parameters *en masse* but it is also useful in many other situations. A Morf *Filter* is created from an array of definitions that describes each parameter you're interested in, and serves-up valid, type-cast values; it'll spit-out an exception when something's overtly wrong.
siestacat/php-array-cast
138 Downloads
Force cast one dimension array