Libraries tagged by attribute casting
konekt/enum-eloquent
1500225 Downloads
Enum attribute casting for Eloquent models
snoeren-development/laravel-currency-casting
21059 Downloads
Cast currency attributes, stored as integer, to floats automatically.
schulzefelix/laravel-data-transfer-object
41646 Downloads
Data Transfer Objects with Attribute Casting and Date Mutators.
sfneal/casts
56604 Downloads
An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes
proai/laravel-struct
1452 Downloads
A Laravel package for using structs with Laravel including attribute casting.
thettler/laravel-console-toolkit
3821 Downloads
This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.
somnambulist/attribute-model
3304 Downloads
Provides a base model that uses an internal array of attributes with type casting
yonchando/laravel-cast-attributes
70 Downloads
Laravel model cast json columns to class object
vicgutt/laravel-auto-model-cast
1452 Downloads
Automatically cast model attributes based on database columns
mkd/laravel-state-management
6 Downloads
a state management package for Laravel, enabling shared and persistent application state across services, requests, and files without the need for reinitialization. It supports casting, default state handling, and custom methods for managing complex state in your Laravel applications
genealabs/laravel-two-way-attribute-casting
6 Downloads
Perform attribute casting when saving Eloquent models to the database.
enriko/laravel-attribute-restrictor
12 Downloads
For Laravel. Easy way to restrict access to specified attributes in a Model
diossystem/multicasting
457 Downloads
Multicasting for attributes of Laravel models. One attribute of a model can have many types.
danhunsaker/eloquent-mutant-caster
23 Downloads
Extend Eloquent's attribute casting feature to support applying a single mutator/accessor pair to multiple fields
postfriday/castable
8 Downloads
Castable – Flexible Attribute-Based Data Casting for PHP