Libraries tagged by model cast
konekt/enum-eloquent
2497985 Downloads
Enum attribute casting for Eloquent models
vkovic/laravel-custom-casts
379772 Downloads
Make your own custom cast type for Laravel model attributes
wendelladriel/laravel-lift
56751 Downloads
Take your Eloquent Models to the next level
esensi/model
67476 Downloads
The base model traits of Esensi
io238/laravel-iso-countries
87969 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.
waad/laravel-model-metadata
5816 Downloads
A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.
tommyknocker/pdo-database-class
6326 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
13521 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.
abetwothree/laravel-ts-publish
6130 Downloads
Create TypeScript declaration types from your PHP models, enums, and other cast classes
cviebrock/eloquent-typecast
73634 Downloads
Trait for Eloquent models to force type-casting on retrieved values
based/laravel-fluent
13588 Downloads
Define model attributes the fluent way. Automatically cast properties to native types.
neuecommerce/model-casts
19785 Downloads
Some handy Laravel Eloquent model casts.
juanparati/embed-models
776 Downloads
Embed sub-models inside JSON fields in Laravel Eloquent models with full casting, validation, and mass assignment support
redcrystal/cast
23095 Downloads
Laravel Value Objects: Cast your Eloquent model attributes to value objects with ease!
yuwuhsien/laravel-bcmath-cast
6040 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.