codebykyle/calculated-field
A Laravel package for defining calculated fields on Eloquent models. Declare attributes that derive their values from other model properties, and the package keeps them updated automatically when the model is saved—no manual recalculation or custom observers required.
codebykyle/calculated-field provides a clean way to add calculated fields to Laravel Eloquent models. Define derived values once and use them alongside normal attributes, keeping accessor logic out of controllers and views.
The package helps keep computed values consistent and reusable across your application while staying lightweight and Laravel-native.
How can I help you explore Laravel packages today?