Libraries tagged by casting
ui-awesome/model
1978 Downloads
Typed model mapping for modern PHP applications.
proai/laravel-struct
2339 Downloads
A Laravel package for using structs with Laravel including attribute casting.
ngankt2/laravel-helper
2618 Downloads
A Laravel helper package that includes security utilities, field encryption, data casting, and commonly used helper functions.
jasny/meta
20467 Downloads
Define metadata for classes, properties and functions
zakirullin/typed-accessor
6 Downloads
Convenient array-related routine & better type casting
yorcreative/argonaut-dto
327 Downloads
A framework-agnostic PHP DTO package that provides nested casting, recursive serialization, validation, assemblers, and immutable DTO support out of the box.
thettler/laravel-console-toolkit
4095 Downloads
This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.
tezmanian/utils-validate
41 Downloads
Lightweight PHP validation toolkit: guard assertions, boolean rules, schema validation, strict type casting, composite predicates, and array-item validation — PHP 8.3+, no dependencies.
somnambulist/attribute-model
4684 Downloads
Provides a base model that uses an internal array of attributes with type casting
solophp/input
63 Downloads
Typed, validated input DTOs for PHP 8.3+: immutable classes built through their constructor from HTTP input, with attribute-driven validation, casting and processing
sfneal/casts
60400 Downloads
An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes
rennokki/eloquent-settings
4232 Downloads
Eloquent Settings allows you to bind key-value pairs to any Laravel Eloquent model. It supports even casting for boolean, float or integer types.
ottosmops/settings
338 Downloads
A robust settings package for Laravel with caching, validation, and type casting
mjkhajeh/wporm
438 Downloads
WPORM is a lightweight, Eloquent-inspired ORM for WordPress plugins and themes. It provides expressive, fluent query building, model relationships, schema management, attribute casting, and event hooks—while fully supporting the WordPress database API and table prefixing. WPORM makes it easy to build modern, maintainable database code in any WordPress project.
getwarp/type
1072 Downloads
Runtime type checking and casting in PHP