Libraries tagged by data casting
yorcreative/argonaut-dto
306 Downloads
A framework-agnostic PHP DTO package that provides nested casting, recursive serialization, validation, assemblers, and immutable DTO support out of the box.
oguzhankrcb/auto-casting-json-resource
2 Downloads
This Laravel package automatically casts your JsonResource data using the casting functions you have defined before.
ui-awesome/model
1938 Downloads
Typed model mapping for modern PHP applications.
tailflow/dto
312 Downloads
A simple and lightweight implementation of Data Transfer Objects (DTO) in Laravel with optional casting support.
k2gl/array-reader
854 Downloads
Read typed values from untyped arrays (JSON, CSV, config, request data) in PHP, with strict and lenient modes
ofelix03/transformer
22 Downloads
A simple associative (i.e. a key:value pair) data transformer which transforms the key's of an array data to some other specified keys. It also supports casting of data key's corresponding value to a specified PHP data type
brunogab/inputhelper
13 Downloads
simple helper for sanitize and auto type-casting input data for php
zobayer/encapsula
7 Downloads
Laravel API response encryption middleware with frontend decoding support.
tommyknocker/struct
8 Downloads
PHP Structure helper with typed properties and attributes
philiprehberger/php-dto-mapper
68 Downloads
Map arrays and JSON to strongly-typed DTOs with attribute-driven configuration
imranali/smart-timezone
4 Downloads
Automatic timezone detection and casting for Laravel - auto-detect user timezone from JS, header, cookie, user profile, or IP, and seamlessly cast all dates to local time.
hdaklue/laravel-dto-morph-cast
9 Downloads
MorphCast for Laravel Validated DTO - Dynamic polymorphic casting for Eloquent models
gpalyan/dto-forge
124 Downloads
Advanced DTO system with casting, validation, masks, nested DTOs
postfriday/castable
9 Downloads
Castable – Flexible Attribute-Based Data Casting for PHP
ap-lib/caster
39 Downloads
AP\Caster is a high-performance PHP library designed to facilitate flexible and efficient data casting operations. It supports adaptive scalar casting, enum casting, and customizable casting strategies to ensure data integrity and type safety in your applications