Libraries tagged by casting

laminas/laminas-form

80 Favers
10540643 Downloads

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

Go to Download


henzeb/enumhancer

58 Favers
199626 Downloads

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

Go to Download


konekt/enum-eloquent

64 Favers
1559772 Downloads

Enum attribute casting for Eloquent models

Go to Download


zendframework/zend-form

71 Favers
14024880 Downloads

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

Go to Download


zakirullin/mess

212 Favers
24710 Downloads

Convenient array-related routine & better type casting

Go to Download


yiisoft/hydrator

28 Favers
65103 Downloads

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

Go to Download


esensi/model

203 Favers
65749 Downloads

The base model traits of Esensi

Go to Download


jrfnl/php-cast-to-type

12 Favers
232383 Downloads

PHP Class to consistently cast variables to a specific type.

Go to Download


waad/laravel-model-metadata

67 Favers
675 Downloads

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

Go to Download


inspirum/arrayable

2 Favers
88566 Downloads

PHP arrayable interface for handling casting to an array

Go to Download


cviebrock/eloquent-typecast

26 Favers
62210 Downloads

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

Go to Download


snoeren-development/laravel-currency-casting

5 Favers
21728 Downloads

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

Go to Download


calmohallag/nullable-casting

1 Favers
9487 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
41892 Downloads

Data Transfer Objects with Attribute Casting and Date Mutators.

Go to Download


yorcreative/laravel-argonaut-dto

88 Favers
90 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


Next >>