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 Editorjs Laravel Package

rahmanramsi/filament-editorjs

Editor.js integration for Filament forms. Adds a block-style rich text editor field to Filament resources and forms, letting Laravel admin panels create clean, structured JSON content with headings, lists, images, and more in a modern writing experience.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

This is an initial assessment; no prior baseline exists. The package is a Filament form-field integration for Editor.js, intended for block-style content authoring inside Laravel/Filament admin panels. v2.0.0-beta.2 is a beta patch that restores statePath, which is a core Filament form-state binding concern. That fix is positive, but the fact that state binding regressed in the beta line is a caution flag for production use.

Architecture fit: Good fit where content is authored in a Filament admin panel and stored as Editor.js JSON for later rendering. Poor fit as a complete content platform by itself: it handles authoring, not frontend rendering, sanitization, media storage, or editorial workflow. It should sit in the admin/editor layer, with a separate renderer and validation layer.

Integration feasibility: Feasible for a Laravel team already using Filament. Main work is verifying Filament major-version compatibility, Livewire form behavior, asset publishing, upload adapters, and JSON rendering. The statePath fix directly affects whether the field hydrates and saves correctly in create/edit forms, so validation must cover both paths.

Technical risk: Beta status is the primary risk. The package’s form-state coupling to Filament/Livewire means small framework or package changes can break saving/loading. Editor.js JSON is flexible but requires strict schema validation and safe rendering. OSS maintenance and support depth are also risks until the stable v2 release and compatibility matrix are clear.

Key questions:

  • Which Filament, Laravel, PHP, and Livewire versions does v2.0.0-beta.2 officially support?
  • Is statePath fixed for both create and edit forms, including Livewire re-renders and nested forms?
  • How is Editor.js JSON validated, sanitized, and rendered on the frontend?
  • Are uploads handled by the package, a custom adapter, or a separate media library?
  • What is the migration path from v1 or from another editor?
  • What is the maintainer’s release cadence and support expectation for stable v2?

Integration Approach

Stack fit: Use only in a Laravel/Filament admin application where Editor.js block editing is valuable. Keep it out of public rendering paths and treat the stored JSON as untrusted input. If the app is not Filament-based, this package is not the right abstraction.

Migration path: Do not migrate existing production content directly. First run a proof of concept in a non-critical admin resource. Confirm install, asset publishing, field registration, create/edit save behavior, and JSON round-trip. Then build a frontend renderer and validation layer before migrating any real content. Pin the beta version and avoid broad adoption until a stable release is available.

Compatibility: Confirm the package’s Filament major-version constraint before upgrade. Check Livewire version behavior, panel asset loading, CSP rules, and any custom Editor.js tools. If you use nested forms, repeaters, or custom state paths, test those explicitly because the beta.2 fix is state-path related.

Sequencing:

  1. Verify version constraints and install in a disposable Filament app.
  2. Test create, edit, save, reload, and Livewire update flows.
  3. Add server-side JSON validation and a safe renderer.
  4. Pilot with one internal content type and limited editors.
  5. Define rollback to the previous editor and pin the beta version.
  6. Promote only after stable v2 or a documented compatibility commitment.

Operational Impact

Maintenance: Expect beta churn. Pin exact versions, monitor releases, and budget for periodic compatibility checks against Filament/Livewire upgrades. The statePath regression shows that form-binding behavior needs regression testing on every update.

Support: This is OSS with limited support leverage. Establish an internal owner for the editor integration, renderer, and media handling. Do not assume vendor SLA or rapid fixes.

Scaling: Editor.js is client-side; risk grows with very large documents, many blocks, and media-heavy content. Store JSON efficiently, validate payload size, and consider async media uploads. Database storage is straightforward, but rendering performance and JSON schema evolution need planning.

Failure modes: The highest-impact failure is silent content loss or non-saving forms due to state binding issues. Other failure modes include missing assets, broken upload adapters, invalid JSON after schema changes, and XSS if rendered output is not sanitized. Monitor save failures and add editor-level validation before publish.

Ramp-up: Low for Filament developers familiar with form fields; moderate for frontend engineers who must render and sanitize Editor.js JSON; higher for operations if media storage and CSP/asset delivery need changes. Start with a constrained pilot and documented editor conventions.

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