Libraries tagged by casting
dazet/type-utils
33413 Downloads
Type casting utils for PHP.
cline/struct
14560 Downloads
Lean, attribute-driven Laravel data objects with explicit validation and Eloquent casting support
rawnoq/laravel-enum
76 Downloads
A comprehensive Laravel package for working with PHP Enums, providing casting, validation, translation, query scopes, and more
dev-toolbelt/laravel-eloquent-plus
1750 Downloads
Supercharge your Laravel Eloquent models with automatic validation, audit trails, external IDs, smart casting, and lifecycle hooks — all with zero boilerplate.
bgaze/laravel-kvstore
202 Downloads
Database-backed key-value store for Laravel, cached and with per-entry type casting.
ui-awesome/model
1929 Downloads
Typed model mapping for modern PHP applications.
proai/laravel-struct
2209 Downloads
A Laravel package for using structs with Laravel including attribute casting.
ngankt2/laravel-helper
2303 Downloads
A Laravel helper package that includes security utilities, field encryption, data casting, and commonly used helper functions.
jasny/typecast
23525 Downloads
Type casting with basic logic
jasny/meta
20176 Downloads
Define metadata for classes, properties and functions
zakirullin/typed-accessor
6 Downloads
Convenient array-related routine & better type casting
yorcreative/argonaut-dto
221 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
4094 Downloads
This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.
rhinox/input-data
4858 Downloads
PHP library for parsing user input data with safe type casting, sensible defaults, and robust error handling
mjkhajeh/wporm
376 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.