Libraries tagged by data casting
gpalyan/dto-forge
119 Downloads
Advanced DTO system with casting, validation, masks, nested DTOs
phpsoftbox/data-casting
57 Downloads
Data casting component for the PhpSoftBox framework
oguzhankrcb/auto-casting-json-resource
2 Downloads
This Laravel package automatically casts your JsonResource data using the casting functions you have defined before.
tailflow/dto
312 Downloads
A simple and lightweight implementation of Data Transfer Objects (DTO) in Laravel with optional casting support.
k2gl/array-reader
812 Downloads
Read typed values from untyped arrays (JSON, CSV, config, request data) in PHP, with strict and lenient modes
oktavlachs/data-mapping-service
879 Downloads
A type safe service, which maps raw data structures onto objects the >= PHP 8 way.
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
arraypress/wp-cast-utils
15 Downloads
A lightweight WordPress library for type casting and data conversion
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
hdaklue/laravel-dto-morph-cast
9 Downloads
MorphCast for Laravel Validated DTO - Dynamic polymorphic casting for Eloquent models
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