n7olkachev/laravel-computed-properties
Add computed properties to your Laravel Eloquent models, calculated on the fly like accessors but excluded from the database. Keep models lean, reuse derived values across queries and serialization, and write less boilerplate.
Attribute::make() with shouldCache(), plus $appends and API Resources, which cover most of the same ground natively. Adoption decisions here are really decisions about how long we stay on older framework versions.Consider it when:
Look elsewhere when:
Attribute objects with caching plus $appends and API Resources are the supported path; adding an unmaintained package buys little.Attribute objects plus $appends.How can I help you explore Laravel packages today?