Libraries tagged by casting

laminas/laminas-form

81 Favers
10801260 Downloads

Validate and display simple and complex forms, casting forms to business objects and vice versa

Go to Download


henzeb/enumhancer

68 Favers
213586 Downloads

Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums

Go to Download


konekt/enum-eloquent

64 Favers
1630182 Downloads

Enum attribute casting for Eloquent models

Go to Download


zendframework/zend-form

71 Favers
14059469 Downloads

Validate and display simple and complex forms, casting forms to business objects and vice versa

Go to Download


zakirullin/mess

212 Favers
25588 Downloads

Convenient array-related routine & better type casting

Go to Download


yiisoft/hydrator

29 Favers
72034 Downloads

Create and populate objects with type casting, mapping and dependencies resolving support.

Go to Download


snoeren-development/laravel-currency-casting

5 Favers
22780 Downloads

Cast currency attributes, stored as integer, to floats automatically.

Go to Download


esensi/model

203 Favers
65885 Downloads

The base model traits of Esensi

Go to Download


jrfnl/php-cast-to-type

12 Favers
236342 Downloads

PHP Class to consistently cast variables to a specific type.

Go to Download


yorcreative/laravel-argonaut-dto

97 Favers
406 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.

Go to Download


waad/laravel-model-metadata

69 Favers
944 Downloads

A Laravel package for handling metadata with JSON casting and custom relation names.

Go to Download


inspirum/arrayable

2 Favers
96944 Downloads

PHP arrayable interface for handling casting to an array

Go to Download


cviebrock/eloquent-typecast

26 Favers
63224 Downloads

Trait for Eloquent models to force type-casting on retrieved values

Go to Download


calmohallag/nullable-casting

1 Favers
10234 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.

Go to Download


schulzefelix/laravel-data-transfer-object

8 Favers
42272 Downloads

Data Transfer Objects with Attribute Casting and Date Mutators.

Go to Download


Next >>