Download the PHP package karakushan/webfox-block-builder without Composer
On this page you can find all versions of the php package karakushan/webfox-block-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download karakushan/webfox-block-builder
More information about karakushan/webfox-block-builder
Files in karakushan/webfox-block-builder
Package webfox-block-builder
Short Description ACF-like block editor for Laravel/Orchid pages
License MIT
Informations about the package webfox-block-builder
Webfox Block Builder
Reusable block editor for Laravel 12 and Orchid Platform 14.
Install in a new project
The install command publishes assets and config/block-editor.php, creates
app/Blocks and resources/views/blocks and does not overwrite existing project files.
Add each model that will use the editor to block-editor.allowed_models:
Use the editor in an Orchid layout:
Blocks are rendered with @blocks($page, 'content', app()->getLocale()).
Project blocks
Project-owned block classes live in app/Blocks and Blade templates live in
resources/views/blocks. Classes named *Block are discovered automatically;
each class must expose public static function register(): void and register its
type through Webfox\BlockEditor\BlockRegistry.
Create a skeleton with:
Block data is stored as JSON in the selected model field, preserving the stable
id, type, order, data, and settings structure.
Package development in webfox.dev
The package is kept in packages/webfox/block-editor as a Git submodule and is
installed by the application through a Composer path repository. Build release
assets from the package directory with npm run build before tagging a release.