Libraries tagged by casts
esensi/model
67023 Downloads
The base model traits of Esensi
aveiv/mixed-value
123780 Downloads
MixedValue provides easy array access and the ability to convert/cast values
arthurydalgo/laravel-iso-countries
19391 Downloads
Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.
tommyknocker/pdo-database-class
6084 Downloads
Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.
woodsandwalker/laravel-countries
11818 Downloads
Laravel Countries is a bundle for Laravel providing ISO 3166_2 codes for all countries along with a country model, cast and validation rule.
lphilippo/laravel-castable-form-request
30923 Downloads
Laravel/Lumen package to add Eloquent-like casts to Form Requests.
based/laravel-fluent
13545 Downloads
Define model attributes the fluent way. Automatically cast properties to native types.
abetwothree/laravel-ts-publish
2177 Downloads
Create TypeScript declaration types from your PHP models, enums, and other cast classes
dhii/stringable-interface
58851 Downloads
Interoperability interface for objects that can be cast to string
yuwuhsien/laravel-bcmath-cast
2864 Downloads
Laravel Eloquent casts for PHP 8.4's BCMath\Number object API, enabling natural operator-based arithmetic on model attributes while maintaining arbitrary precision decimal accuracy.
sushi-market/smart-cast
2942 Downloads
Smart casts for PHP
redcrystal/cast
23036 Downloads
Laravel Value Objects: Cast your Eloquent model attributes to value objects with ease!
neuecommerce/model-casts
14006 Downloads
Some handy Laravel Eloquent model casts.
wplake/typed
1220 Downloads
Lightweight PHP utility for seamless type-casting and data retrieval from dynamic variables, arrays, and objects.
qtlenh/laravel-strict-validator
6002 Downloads
Add type constraints and coerce input types during validation