Libraries tagged by casting
laminas/laminas-form
10281594 Downloads
Validate and display simple and complex forms, casting forms to business objects and vice versa
henzeb/enumhancer
186746 Downloads
Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums
konekt/enum-eloquent
1496520 Downloads
Enum attribute casting for Eloquent models
zendframework/zend-form
13988648 Downloads
Validate and display simple and complex forms, casting forms to business objects and vice versa
zakirullin/mess
24082 Downloads
Convenient array-related routine & better type casting
yiisoft/hydrator
59316 Downloads
Create and populate objects with type casting, mapping and dependencies resolving support.
esensi/model
65666 Downloads
The base model traits of Esensi
jrfnl/php-cast-to-type
228109 Downloads
PHP Class to consistently cast variables to a specific type.
waad/laravel-model-metadata
361 Downloads
A Laravel package for handling metadata with JSON casting and custom relation names.
inspirum/arrayable
80792 Downloads
PHP arrayable interface for handling casting to an array
cviebrock/eloquent-typecast
61238 Downloads
Trait for Eloquent models to force type-casting on retrieved values
snoeren-development/laravel-currency-casting
21024 Downloads
Cast currency attributes, stored as integer, to floats automatically.
calmohallag/nullable-casting
8855 Downloads
PHP supports expression casting to primitive type (like int) by using “( type ) expression”, but it currently doesn't allow to use a nullable type as introduced by PHP 7.1 (e.g. ?int). This library provide functions that extend native php casting, adding nullable casting.
schulzefelix/laravel-data-transfer-object
41615 Downloads
Data Transfer Objects with Attribute Casting and Date Mutators.
yorcreative/laravel-argonaut-dto
28 Downloads
Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.