Libraries tagged by casting
philiprehberger/php-dto-mapper
68 Downloads
Map arrays and JSON to strongly-typed DTOs with attribute-driven configuration
michaelravedoni/laravel-value-objects
3 Downloads
A base package for creating value objects in Laravel, with Artisan command and generic Eloquent cast.
mibo/laravel-properties
1 Downloads
PHP lib for prices for Laravel
lukaj/nette-param-validator
7 Downloads
Casting and validating parameters of presenters in Nette Framework
imranali/smart-timezone
6 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
gladehq/php-coerce
4 Downloads
Safe, predictable type coercion for PHP. If it can't convert meaningfully, return null — never guess.
enriko/laravel-attribute-restrictor
12 Downloads
For Laravel. Easy way to restrict access to specified attributes in a Model
diossystem/multicasting
457 Downloads
Multicasting for attributes of Laravel models. One attribute of a model can have many types.
yonchando/laravel-cast-attributes
140 Downloads
Laravel model cast json columns to class object
stryxx/strict-types
142 Downloads
A lightweight library that helps enforce and maintain predictable types in PHP 8.1+ applications.
philiprehberger/php-csv
68 Downloads
Memory-efficient CSV reader and writer with header mapping and type casting
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