Libraries tagged by data casting
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
310 Downloads
A simple and lightweight implementation of Data Transfer Objects (DTO) in Laravel with optional casting support.
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
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
6 Downloads
Laravel API response encryption middleware with frontend decoding support.
ui-awesome/model
960 Downloads
Typed model mapping for modern PHP applications.
tommyknocker/struct
8 Downloads
PHP Structure helper with typed properties and attributes
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
nepada/envy
204 Downloads
Helpers for extracting, validating and type-casting data from environment variables
damejidlo/envy
419 Downloads
Helpers for extracting, validating and type-casting data from environment variables