7 Laravel packages tagged “accessors”
Most downloaded: korridor/laravel-computed-attributes, with 88,228 downloads and 12 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.
korridor/laravel-computed-attributes
Laravel package that adds computed attributes to eloquent models. A computed attribute is an accessor were the computed value is saved in the database.
12
88,228
schulzefelix/laravel-data-transfer-object
Data Transfer Objects with Attribute Casting and Date Mutators.
8
45,414
event4u/data-helpers
Framework-agnostic PHP library for data mapping, DTOs and utilities. Includes DataMapper, SimpleDto/LiteDto, DataAccessor/Mutator/Filter and helper classes (MathHelper, EnvHelper, etc.). Works with Laravel, Symfony/Doctrine or standalone PHP.
14
41,687
giordanolima/decimal-mutators
Add a short way to create accessors and mutators for decimal fields
13
1,111
fezz/money-magic
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.
1,023