Libraries tagged by cast object
jessarcher/laravel-castable-data-transfer-object
706782 Downloads
Automatically cast JSON columns to rich PHP objects in Laravel using Spatie's data-transfer-object class
morrislaptop/laravel-popo-caster
646902 Downloads
Automatically cast JSON columns to rich PHP objects in Laravel using Symfony's Serializer
wplake/typed
1193 Downloads
Lightweight PHP utility for seamless type-casting and data retrieval from dynamic variables, arrays, and objects.
dhii/stringable-interface
54560 Downloads
Interoperability interface for objects that can be cast to string
redcrystal/cast
23016 Downloads
Laravel Value Objects: Cast your Eloquent model attributes to value objects with ease!
yuwuhsien/laravel-bcmath-cast
2365 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.
simplon/helper
101233 Downloads
Helpers for recurring requirements
eboreum/caster
8127 Downloads
Cast any PHP value to a sensible, human readable string. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing endless, circular referencing objects (endless recursion), limits the output for large arrays and long strings, and prevents (opt-in) the outputting of sensitive strings like passwords.
spoorsny/laravel-south-african-id
767 Downloads
Validation rules and an Eloquent Model attribute cast to value object encapsulating a South African government-issued personal identification number, for Laravel.
weblogin/laravel-lookup
424 Downloads
Laravel lookup objects and Eloquent casts for static data.
tailflow/castable-dto
29458 Downloads
Automatically cast JSON columns to PHP objects in Laravel using Spatie's data-transfer-object class
fezz/money-magic
572 Downloads
Generate consistent Brick\Money accessors for Eloquent "money" fields stored as minor units (ints). Define money mappings once, avoid floats, keep currency handling centralized, and optionally scaffold mappings via Artisan for clean, type-safe monetary domain code.
coder-at-heart/object-models
2041 Downloads
Add schema, control and cast php json as objects and arrays for Laravel projects
raveren/eloquent-data-object
5 Downloads
Store strictly typed PHP objects in Eloquent JSON columns. Data class changes never invalidate stored data.
mohammedmanssour/file-cast
325 Downloads
Easily manage uploaded files in your Laravel app, with automatic path saving and handy value objects for effortless access.