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

Laravel Filament Json Field Laravel Package

codebar-ag/laravel-filament-json-field

A Filament form field for editing JSON in Laravel admin panels. It provides a dedicated JSON editor with formatting and validation, making structured data such as settings, metadata, and dynamic content easier to manage. Integrates cleanly into Filament resources and forms.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Raw-data escape hatch for internal tooling. Lets PMs expose structured config — feature flags, webhook/event payloads, per-tenant metadata, plugin settings, CMS option blobs — as an editable JSON field inside an existing Filament resource, without commissioning a bespoke screen. This is a "power user" surface, and shipping it is itself a product decision: you are choosing to serve admins who can write JSON rather than building a guided UI for everyone.
  • Build vs. buy on a small surface. A competent JSON editor field (syntax highlighting, prettify/format, client- and server-side validity checks) is roughly 1–3 engineer-days plus ongoing editor/browser upkeep. This package converts that into a dependency line item. Buy when the field is peripheral; build in-house when JSON editing is a core, differentiating workflow.
  • Data-modeling decisions. Adopting it makes the "store this as a JSON column" option materially cheaper in UX terms, which in turn affects schema decisions (JSON blob vs. normalized tables) and how much flexibility you promise customers for custom fields.
  • Roadmap sequencing. Unblocks admin-console / back-office epic items without pulling engineers off customer-facing work, and can serve as a cheap experiment to learn whether users actually need raw JSON before you invest in a schema-aware form builder.
  • Representative use cases: integration and webhook configuration, extension/plugin settings, tenant-level settings overrides, experiment and A/B config, import/export previews, seed and demo data authoring, and support-engineer debugging screens.
  • Risk decisions it forces you to make explicitly: validation authority (server-side, always), audit/history for edited JSON, and a guided-form fallback for non-technical admins. The field solves rendering; it does not solve governance.

When to Consider This Package

Consider it when:

  • You are already running Filament, and composer.json confirms compatibility with your exact Filament major, Laravel, and PHP versions — verify this first; version drift is the most common failure mode for small Filament plugins.
  • The JSON is a secondary attribute on a larger resource, not the primary workflow.
  • "Valid JSON, nicely formatted, editable" is sufficient — you do not need schema-driven field-level editing.
  • Your team is small, composition-friendly, and can absorb single-maintainer risk: 11 stars, one apparent maintainer, MIT-licensed, with a recent release (July 2025) as the main health signal.
  • The blast radius is internal: back-office users, low traffic, reversible data.

Look elsewhere (or build) when:

  • You are not on Filament, or you are on an unsupported major version — a thin wrapper over CodeMirror/Monaco is likely cleaner than forking.
  • You need schema-aware editing, autocomplete from JSON Schema, diffing, or per-key validation — Filament's own Repeater/Builder/KeyValue components or a dedicated schema-form library are better fits, and often a better product outcome.
  • The field would sit on a customer-facing or high-traffic path, or in scope for security review, accessibility certification, or vendor SLAs.
  • Org policy restricts low-adoption dependencies on critical paths, or you need a support contract and a named escalation path.
  • During evaluation, check: test coverage, open-issue responsiveness, graceful behavior on malformed input, and whether it degrades to a plain textarea if the JS editor fails to load.

How to Pitch It (Stakeholders)

For executives: This is a free, MIT-licensed UI component that eliminates a few days of custom admin-panel work per use. Scope is a single form field on internal screens — no customer-facing surface, no data migration, no licensing cost, and removable in under a day. Approve it as a tactical convenience, not a platform bet: modest upside, contained downside.

For engineering: A Filament form field that gives you syntax-highlighted JSON editing with validation, so nobody hand-rolls an editor. Adopt it behind a thin internal wrapper class so replacing it is a one-file change, pin the version, add a smoke test on each resource that uses it, and re-check maintainer activity at every Filament upgrade. Server-side validation stays ours regardless of what the client does.

Shared caveat to state up front: adoption is very low (11 stars), so treat it as convenience, not infrastructure. Keep a guided-form path for non-technical admins, and never make this field the only route to editing data that matters.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource