Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Nova Calculated Field Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for admin-panel derived values. Nova is Laravel's first-party, commercially licensed admin panel; this package extends it with calculated/computed fields so a resource can display values derived from other attributes or relationships (totals, counts, concatenations, formatted rollups) without the team writing and maintaining custom Vue field components. The build-vs-buy comparison is therefore "one dependency + license" against "a bespoke Nova field component plus ongoing Nova-version upkeep."
  • Roadmap sequencing for internal tooling. Because the value lands in the admin/back-office surface rather than the customer-facing product, adoption is a low-blast-radius bet: it can ship inside an internal sprint without a customer migration, feature flag, or release note.
  • Upgrade planning and platform-risk decisions. v2.4.1 removes the hard 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.
  • Support-matrix decisions for the team's Nova edition. Teams planning a Nova major-version upgrade should treat the loosened constraint as less friction but no guarantee: without an explicit framework constraint, nothing in the manifest asserts tested compatibility, so the decision becomes "we verify against our Nova/Laravel pair in CI" rather than "the package promises it."
  • Scope control on custom admin work. The strongest use case is retiring one-off, hand-rolled computed columns scattered across resources, consolidating them onto a maintained field type — a maintainability decision more than a feature decision.

When to Consider This Package

Consider it when all of the following hold:

  • You already run Laravel Nova (the licence cost is sunk; the package is additive rather than a reason to adopt Nova).
  • Your admin resources need read-only derived values, and the alternative is a custom Nova field component your team must maintain across Nova majors.
  • You are on, or planning, a Laravel version where a pinned laravel/framework constraint previously caused trouble — v2.4.1's loosened dependency is the direct motivation to re-evaluate or adopt now.
  • You can afford to run a compatibility check in CI, since the removed constraint shifts the compatibility guarantee onto your test suite.

Look elsewhere when:

  • You do not use Nova. This package has no standalone value; for framework-agnostic computed attributes, use model accessors, Attribute casts, or query-level aggregates instead.
  • The derived values must be sortable, filterable, or searchable at scale. Computed display fields typically resolve per-row; if the business needs these in list views, exports, or reports, push the calculation into the database (generated columns, materialised aggregates, or a reporting layer) rather than the admin field layer.
  • Compliance or auditability requires the value to be persisted and immutable. A calculated field is a presentation-time computation; if finance or audit needs a stored, timestamped figure, this is the wrong layer.
  • You need a hard compatibility guarantee. The dropped framework constraint is a patch-level release (v2.4.1) that changes the dependency footprint — a semver-liberal move. Treat the package as "works when we test it," and if your organisation requires vendor-asserted support windows, prefer a package that pins and documents its matrix.
  • The package is business-critical and thinly maintained. A single-maintainer project taking its first outside contribution is a continuity risk worth weighing for anything beyond internal tooling.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel