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

Button Field Laravel Package

marshmallow/button-field

A Laravel package that adds a configurable button field to your forms and admin panels. Define labels, links, actions, styles, and confirmation prompts directly in your field definitions, keeping custom actions declarative and consistent with the rest of your form schema.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature vs. friction in back-office tooling: A Nova "button field" lets you surface a first-class call-to-action inside a resource detail/index view (trigger an action, link out, open a modal, hit a webhook) without commissioning a custom Vue field. That's a roadmap decision: do we invest in polishing internal admin UX, or leave operators to hop between screens and CLI?
  • Build vs. buy (buy vs. fork): Because the package is a thin field wrapper, it's a useful cost-anchor in build/buy analysis — the "buy" side is nearly free, so the real question becomes do we fork and own it rather than build from scratch.
  • Reduce custom Nova component backlog: If your roadmap has recurring "operators want a button here" tickets, a declarative field component lets product/ops ship small workflow affordances without pulling front-end capacity off customer-facing work.
  • Workflow enablement use cases: Ops dashboards, CMS moderation queues ("Approve / Reject / Publish"), support tooling ("Resend invoice", "Impersonate"), and lightweight internal state-machine triggers — all places where a single button action saves a support ticket or a Slack ping.
  • Vendor risk as a decision input — revised: v1.7.0 confirms this is not a one-off dump; the package has moved through at least six minor releases (v1.6.0 → v1.7.0) since its initial publication, which softens the abandonment signal materially. What has not changed: no evidence of dependents or community adoption, and release notes are an empty link to a GitHub compare URL with no written changelog. So the decision shifts from "treat as abandoned" to "treat as a hobby-maintained package with unknown users" — still vendor-and-own, but with a lower urgency to replace.

When to Consider This Package

Consider it when:

  • You are already standardized on Laravel Nova and want a cheap, incremental improvement to admin/back-office ergonomics.
  • The requirement is genuinely small — a button that links, dispatches a Nova Action, or fires a simple endpoint — and you'd otherwise spend days writing a custom field.
  • You have PHP/Laravel capacity to read the source, pin the version, and add tests; the code surface is small enough to audit in an afternoon.
  • You're prototyping internal tooling where speed beats long-term support guarantees.

Look elsewhere / build in-house when:

  • You need formal support, published changelogs, or CVE monitoring. The v1.7.0 release notes contain no human-written description of what changed — only a diff link — so you must read the git diff yourself to know whether anything touches your integration. That's acceptable for a pinned fork, disqualifying for a reviewed vendor dependency.
  • Your button needs are non-trivial (multi-step confirmation, permission gating, async progress, idempotent side effects) — at that point a thin third-party field is the wrong abstraction and Nova's built-in Actions/Lenses are the better primitive.
  • You're not on Nova, or you're on a Nova major version the package hasn't been verified against; compatibility is still unproven here.
  • Procurement or security review requires provenance, signed releases, or vendor support — none of which exist here.
  • You'd be the only adopter. With no visible dependents, you are effectively the QA team.

Release-specific notes (v1.7.0):

  • Semver-wise this is a minor bump (1.6 → 1.7), which conventionally implies additive, backward-compatible changes — low upgrade risk if you're already pinned on the 1.x line.
  • No breaking-change or deprecation notice was published. Absence of a notice is not the same as absence of a change; verify by diffing v1.6.0...v1.7.0 before bumping anything operator-facing.
  • If you adopt now, pin to v1.7.0 explicitly and re-run your compatibility check against your Nova version, since the assessment's prior compatibility evidence is a release behind.

How to Pitch It (Stakeholders)

To executives (30 seconds): This is a small, low-cost UI component for our internal admin panel that lets operators trigger routine actions with a button instead of navigating away. The upside is modest but real: fewer support round-trips and less custom front-end work. The package just shipped another minor release, which is a positive maintenance signal, but it remains unadopted and undocumented — releases come with no written notes. So the recommendation is unchanged in direction and slightly improved in confidence: vendor the code, own it internally, and treat it as a starting point, not as a long-term dependency. Cost is days, not sprints; risk is contained because the code is small and forkable.

To engineering: It's a Laravel Nova field — thin wrapper, small surface area. Proposal: audit the source at v1.7.0, walk the v1.6.0...v1.7.0 diff manually since the release notes are empty, pin the tag, fork into our namespace, and add a smoke test plus a compatibility check against our Nova version before we put it behind any operator-facing workflow. The minor version bump suggests no breaking changes, but don't take that on faith. If the audit surfaces anything awkward, we build the field ourselves — the scope is small enough that the fork-vs-build delta is a day or two, not a quarter.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource