Libraries tagged by casting

laminas/laminas-form

80 Favers
10281594 Downloads

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

Go to Download


henzeb/enumhancer

57 Favers
186746 Downloads

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

Go to Download


konekt/enum-eloquent

63 Favers
1496520 Downloads

Enum attribute casting for Eloquent models

Go to Download


zendframework/zend-form

71 Favers
13988648 Downloads

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

Go to Download


zakirullin/mess

212 Favers
24082 Downloads

Convenient array-related routine & better type casting

Go to Download


yiisoft/hydrator

27 Favers
59316 Downloads

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

Go to Download


esensi/model

203 Favers
65666 Downloads

The base model traits of Esensi

Go to Download


jrfnl/php-cast-to-type

12 Favers
228109 Downloads

PHP Class to consistently cast variables to a specific type.

Go to Download


waad/laravel-model-metadata

65 Favers
361 Downloads

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

Go to Download


inspirum/arrayable

2 Favers
80792 Downloads

PHP arrayable interface for handling casting to an array

Go to Download


cviebrock/eloquent-typecast

26 Favers
61238 Downloads

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

Go to Download


snoeren-development/laravel-currency-casting

5 Favers
21024 Downloads

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

Go to Download


calmohallag/nullable-casting

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

Go to Download


schulzefelix/laravel-data-transfer-object

8 Favers
41615 Downloads

Data Transfer Objects with Attribute Casting and Date Mutators.

Go to Download


yorcreative/laravel-argonaut-dto

76 Favers
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.

Go to Download


Next >>