Laravel Tech Community
Apr 16, 2020 · Backend Development
Master Laravel Eloquent: Accessors, Mutators, and Attribute Casting Explained
Learn how Laravel Eloquent’s accessors and mutators let you automatically format attribute values, how to define custom getters and setters, configure date conversion with Carbon, customize date formats, and use the $casts property to transform JSON, arrays, booleans, and other data types.
AccessorsAttribute CastingEloquent
0 likes · 7 min read
