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 Html Field Laravel Package

joshmoreno/nova-html-field

joshmoreno/nova-html-field is a Laravel Nova custom field for rendering HTML content directly in Nova forms and detail views. Display rich text, embedded markup, or custom HTML with simple configuration, making it easy to add flexible content blocks to admin resources.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Internal admin/ops tooling scope — decides whether a Nova resource can surface computed, non-persisted information (KPI values, status badges, audit summaries, counts from withCount, formatted JSON) without adding database columns or a migration. This is the core decision: do we need a column for this, or is it a display-only concern?
  • Build vs. buy on admin UI — replaces what would otherwise be a custom Nova field (a PHP field class plus a Vue component) with a single Composer dependency. The build cost is small but real; the buy cost is nearly zero. This package tips the decision toward "buy" for one-off display needs.
  • Roadmap sequencing for back-office features — internal dashboards and operator-facing screens are usually the first thing cut when engineering is capacity-constrained. A cheap rendering field lets ops-facing polish ship alongside feature work instead of queuing behind it.
  • Onboarding and in-context guidance — rendering help text, policy reminders, or "what this status means" copy directly in index, detail, and form views of a resource, instead of maintaining a separate docs page that operators don't read.
  • Cross-system wayfinding — clickable links from an admin record to the corresponding Stripe customer, support ticket, or log query. A small feature that measurably reduces operator time-to-context.
  • Concrete use cases to evaluate against: computed status pills, inline form help text, embedded read-only charts or sparklines, preview thumbnails of related records, and side-by-side comparisons of a record against a benchmark value.

When to Consider This Package

Consider it when:

  • You are already committed to Laravel Nova as your admin panel. Nova is a paid, proprietary product — this package is worthless without it, so confirm the license and version first.
  • The audience is internal staff inside a trust boundary (operators, support, finance, ops). Not customers, not partners, not anything internet-facing.
  • The content is server-controlled and read-only — values you compute in the field's resolve/render callback, not data entered by end users.
  • You want this in all three contexts (index, detail, form). That is genuinely the differentiator over Nova's built-in display fields, which tend to be scoped to one context.
  • You need it this sprint and the alternative is writing and reviewing a custom field component.

Look elsewhere when:

  • You are not on Nova, or you are on a Nova version the package doesn't declare support for. Nova's major versions have broken field APIs before; a 13-star package with a single maintainer is unlikely to have kept pace. Verify composer.json constraints against your Nova and PHP versions before anything else.
  • Any part of the rendered HTML is user-supplied. This field renders raw HTML, which is an XSS vector by design. If the content can originate from a customer, a webhook payload, or a database column someone else writes, do not use it — sanitize upstream or use an escaping field.
  • You need interactivity (filters, sorting, live-updating widgets). This is a rendering field, not a component framework. Reach for a custom Nova component or a dashboard card.
  • You need long-term maintenance guarantees. 13 stars and a low activity signal means you should treat this as vendor-by-copy: the field class is small enough to paste into app/Nova/Fields/ and own outright. That converts a dependency risk into a few lines of code you control.
  • The HTML is complex enough to be a product in itself — full dashboards, embedded BI, rich data grids. At that point you want a dedicated Nova card or an iframe to a real tool, not a field pretending to be a page.

How to Pitch It (Stakeholders)

For executives: This is a small, low-cost accelerator for our internal admin panel. It lets us add operator-facing context — status explanations, links into Stripe and our support tool, computed metrics — to existing admin screens in hours rather than days, without database changes or new frontend work. It is internal-only: no customer sees it, it carries no revenue exposure, and because it is a rendering-only shim, the blast radius of a failure is a cosmetic glitch on an admin page. The one caveat is that the package is a single-maintainer open-source project, so I'd recommend we vendor the field into our own codebase rather than take a permanent dependency — that costs roughly half a day and eliminates the supply-chain risk entirely.

For engineering: It's a Nova field that renders arbitrary HTML in index, detail, and form views — useful for computed values that don't deserve a column, inline help copy, and deep links. Adoption cost is one Composer line; the field is thin enough that copying it into app/Nova/Fields is a credible alternative and probably the right call given the maintenance profile. Two asks before we ship: confirm Nova/PHP version compatibility against composer.json, and enforce a rule that rendered HTML is always server-composed and never derived from user input — this field will happily render an XSS payload. Assign an owner to re-check compatibility at each Nova upgrade; that is the only ongoing cost.

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.
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
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk