Skip to content

ArtisanPack UI home

Visual Editor

A Gutenberg-powered visual editor for Laravel. Block-based content editing on any Eloquent model, plus a full site editor for templates, global styles, navigation and patterns \u2014 with Blade, React and Vue renderers.

v1.21.0

MIT License

★ 1

composer require artisanpack-ui/visual-editor
terminal
$ composer require artisanpack-ui/visual-editor
✓ Installed
$ php artisan migrate
✓ Migrated block-content tables

<x-visual-editor :model="$post" />

What it does

The block editor, brought to Laravel

A post editor and a full site editor built on the WordPress block editor \u2014 42 forked core blocks, theme.json global styles, and renderers for every frontend.

Post editor

Block-based content editing on any model that opts in via the HasBlockContent trait.

Site editor

Templates, template parts, global styles, navigation menus and patterns at /visual-editor/site.

42 forked blocks

A frozen allow-list under artisanpack/*; pasted core/* markup auto-converts on insert.

Icon block

Font Awesome 6 Free bundled, sanitized custom SVG paste and admin upload for licensed sets.

Three renderers

Blade, React and Vue renderers for saved block content on the public site.

AI authoring

Optional next-block, layout and heading-hierarchy suggestions via artisanpack-ui/ai.

Install and migrate

Add the HasBlockContent trait to a model, register it in config, then mount <x-visual-editor>. Pair with CMS Framework for the site editor.

1 · Install

composer require artisanpack-ui/visual-editor

2 · Run migrations

php artisan migrate

What you need

Requirement Detail
Editor UI @artisanpack-ui/react
Peer deps tailwindcss ^4.0 and daisyui ^5.0
Site editor artisanpack-ui/cms-framework (version-paired)
Fully usable standalone; pair with cms-framework (same major version) to unlock editable Posts and Pages, entity blocks and persisted templates, patterns and menus.

Updates

Latest Updates

Build content with the Visual Editor

A block-based post and site editor for any Laravel app, in one command. Free and open source under the MIT license.