gldrenthe89/nova-calculated-field
A Laravel Nova field that displays calculated values across index, detail, and form views. Supply a callback to derive results from other fields or model attributes without storing them in the database, keeping derived data accurate and in sync throughout your admin panel.
laravel/framework dependency, which is the single most consequential change here. It means the package no longer constrains which Laravel version the host application may run, which materially lowers the cost of framework upgrades and reduces the chance of Composer resolution deadlocks in a monorepo or a large dependency graph. For a PM, this converts "adopting this package may block our Laravel upgrade" into a near-non-issue — a common reason packages get rejected at review time.Consider it when all of the following hold:
laravel/framework constraint previously caused trouble — v2.4.1's loosened dependency is the direct motivation to re-evaluate or adopt now.Look elsewhere when:
Attribute casts, or query-level aggregates instead.To executives: This is a small, low-cost capability for the internal admin panel we already pay for. It replaces hand-built calculated columns — work our engineers would otherwise maintain indefinitely — with a maintained component, and the latest release removes a framework-version constraint that would have complicated our Laravel upgrade path. The exposure is confined to back-office screens: no customer-facing change, no data migration, no new vendor relationship beyond the Nova licence we already hold. Recommendation: adopt for internal tooling, with a one-sprint trial on a single resource before broad use.
To engineering: v2.4.1 drops the hard laravel/framework dependency, so the package no longer competes with our application's Laravel constraint during Composer resolution — that is the reason to look again if we previously deferred it. The trade-off is explicit: we now own the compatibility check, because nothing in the package asserts a tested framework range, and the change arrived in a patch release rather than a major. Pin the version, add a CI job that exercises our Nova/Laravel pair, and audit the computed fields for anything that needs to sort, filter, or persist — those belong in the database, not in a display field. Keep the adoption behind our internal-tooling boundary so a future maintenance lapse costs us an admin screen, not a product surface.
How can I help you explore Laravel packages today?