interaction-design-foundation/nova-html-code-field
A Laravel Nova field for editing HTML and code directly in your resources. Provides a syntax-highlighted editor with a clean, developer-friendly interface for managing markup in Nova forms and detail views.
Assessment basis: Derived from release 2.2.0 notes ("Add Nova 5 support"), the package description, and the companion PM and Laravel developer assessments. Composer constraints, test coverage, and editor internals have not been independently verified.
Architecture fit
laravel/nova package and its field/asset-registration APIs. Every Nova major is a potential forced upgrade of this field.Integration feasibility
fields() method: hours, not weeks, for a Nova-fluent developer. No migrations, no service-provider bootstrapping, no queue or runtime footprint.^4|^5 or bumped to Nova 5 only.text/longText/json column. Content stays plain HTML in the database, so the field is swappable without a data migration — this makes the decision reversible, which materially lowers the cost of being wrong.Technical risk
composer.json widened laravel/nova.Key questions
laravel/nova constraint?nova-code-style packages)?Stack fit
composer.json requirements against the host application before scheduling work.Migration path
^2.2. Do not upgrade the field ahead of Nova.^2.1 unless 2.2.0's constraint explicitly supports Nova 4; a hard Nova 5 requirement makes 2.2.0 a no-op.^2.2 directly; no migration needed.Compatibility
laravel/nova, laravel/framework, php. Mismatches surface as Composer resolution errors — cheap to catch early, expensive mid-migration.nova:publish or register through Nova::script()/Nova::style(); this path shifted across Nova majors and is a common silent breakage point.Sequencing
nova-html-code-field:^2.2 and run asset publishing.Maintenance
Support
Scaling
TEXT vs LONGTEXT). Set a practical content-size guideline and enforce it with a max: validation rule.Failure modes
Ramp-up
How can I help you explore Laravel packages today?