Libraries tagged by attribute casting
konekt/enum-eloquent
1640487 Downloads
Enum attribute casting for Eloquent models
snoeren-development/laravel-currency-casting
22903 Downloads
Cast currency attributes, stored as integer, to floats automatically.
schulzefelix/laravel-data-transfer-object
42307 Downloads
Data Transfer Objects with Attribute Casting and Date Mutators.
sfneal/casts
59671 Downloads
An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes
proai/laravel-struct
1581 Downloads
A Laravel package for using structs with Laravel including attribute casting.
thettler/laravel-console-toolkit
3837 Downloads
This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.
mjkhajeh/wporm
82 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.
somnambulist/attribute-model
3391 Downloads
Provides a base model that uses an internal array of attributes with type casting
yonchando/laravel-cast-attributes
99 Downloads
Laravel model cast json columns to class object
vicgutt/laravel-auto-model-cast
1454 Downloads
Automatically cast model attributes based on database columns
mkd/laravel-state-management
7 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.
kontoulis/laravel-attribute-model-casting
2 Downloads
A Laravel package enabling the use of native PHP attributes for defining and managing Eloquent model attribute casts.
itwebmaster/json-attribute-behavior
2 Downloads
Flexible Yii2 trait for working with JSON fields (dot-paths, validation schema, defaults, type casting, etc.)
enriko/laravel-attribute-restrictor
12 Downloads
For Laravel. Easy way to restrict access to specified attributes in a Model