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

Filament Jsoneditor Laravel Package

invaders-xx/filament-jsoneditor

A Filament form field that adds a full-featured JSON editor to your Laravel admin panels. Edit, validate, and format JSON directly inside Filament forms with syntax highlighting, tree view, and a smooth, developer-friendly editing experience.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for JSON editing in admin panels. This is a drop-in Filament form field; adopting it replaces roughly 1–3 engineering days of wrapping a JS JSON editor (asset registration, form-state sync, validation, dark mode). It's MIT-licensed and a thin wrapper, so the decision is cheap to reverse — which is the main reason to make it quickly rather than debate it.
  • Whether to expose raw JSON to admins at all. If settings blobs, per-tenant config, feature flags, webhook payloads, or third-party integration config live in JSON columns, this converts "trust the operator to type valid JSON" into structure-aware editing with validation. That's an enablement feature: it unblocks shipping admin UI for config surfaces you'd otherwise keep in code or CLI.
  • User segmentation. Tree view plus validation lowers the skill floor for semi-technical admins. If your only editors are developers, Filament's code editor field is likely sufficient and this becomes a nice-to-have rather than a requirement.
  • Roadmap input. Choose between (a) adopt this, (b) build an in-house field, (c) punt and keep JSON editing in seeders/CLI. If JSON config editing appears on more than one admin surface in the next two quarters, adoption amortizes; if it's a single screen, a Textarea plus a json_decode validation rule is ~20 lines.
  • Platform-upgrade sequencing (new). Release 5.0 adds Laravel 12 support as a major version bump. That means the package is tracking the framework upgrade path, but the 4.x → 5.x jump likely drops older Laravel (and possibly Filament) support. If a Laravel 12 upgrade is on the roadmap, budget a composer-constraint review as part of that work rather than discovering it mid-upgrade.
  • Support-cost reduction. Fewer "invalid JSON" tickets and fewer admin-caused config corruptions — measurable in support hours, which is the cleanest way to justify the dependency.
  • Risk posture. Still ~25 stars, 0 dependents, single maintainer — but 5.0 is a responsiveness signal: the maintainer shipped framework compatibility rather than letting the package rot. Keep treating it as a tactical convenience, not a foundation: pin the version and keep a fork/replace path in mind.

When to Consider This Package

Adopt when:

  • You're on the Filament major version its composer constraints actually support — verify this first; this release targets Laravel 12 but says nothing about Filament v4, which is a separate axis. Confirm both.
  • You're on (or planning) Laravel 12 and can take 5.x; if you're staying on Laravel 10/11, expect to pin the 4.x line and accept that you're off the maintained branch.
  • You have at least one, ideally several, JSON-backed fields surfaced in Filament resources or settings pages.
  • Editors are semi-technical and benefit from tree view and inline validation.
  • Your CSP and asset pipeline tolerate a bundled JS editor — check what it ships (published assets vs. CDN, bundle size, dark mode).
  • You accept vendor risk: pin the version, keep an exit.

Look elsewhere or defer when:

  • You need JSON Schema–driven form generation or per-key validation. This is an editor, not a schema form builder — use a schema-form package or Filament's builder/repeater.
  • You need diffing, edit history, collaborative editing, or performance on very large documents.
  • Filament v4 support is required and unconfirmed. Laravel 12 support in 5.0 does not establish it — don't adopt on faith.
  • Security/compliance forbids unvetted third-party JS dependencies.
  • The need is one-off and low-stakes.

How to Pitch It (Stakeholders)

Executives: A free, MIT-licensed UI component that lets admins safely edit JSON configuration — settings, integrations, feature flags — inside the Filament admin we already run. No new service, no license cost, no vendor contract. It reduces admin-caused incidents and saves roughly one to three engineering days versus building it. The latest 5.0 release adds Laravel 12 support, which tells us the maintainer is keeping pace with the framework — a modest but real maintenance signal for a package this small. Risk remains bounded because it's a thin wrapper with an easy exit, so this is a tactical convenience rather than a strategic dependency. Recommendation: pilot on one screen, pin the version, revisit if adoption spreads.

Engineering: A drop-in Filament form field wrapping a JS JSON editor. New in 5.0: Laravel 12 support, shipped as a major version bump — so assume breaking changes and re-verify the composer matrix before upgrading, especially the Filament constraint and any dropped Laravel versions. Pros: minimal integration surface, MIT, actively tracking framework upgrades, consistent with our existing stack. Cons: major version jumps mean upgrade work lands on us when we move Laravel versions; still a single maintainer with no dependents. Before merge: confirm both Laravel and Filament version compatibility (5.0 confirms Laravel 12, not Filament v4), confirm CSP and bundle impact, pin the composer constraint, and be prepared to vendor assets or fork. Exit cost is low — a fork or a swap to a plain code-editor field. Ask: a 30-minute spike on one resource behind a flag, then decide — and if you're mid-Laravel-12-upgrade, do the version matrix check as part of that ticket rather than separately.

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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route