qowwa-apps / page-builder
WordPress-style visual page builder for Filament: live canvas, rows, columns and blocks that inherit your site theme.
Requires
- php: ^8.2
- filament/filament: ^4.17.1|^5.12.1
- illuminate/contracts: ^12.0|^13.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-arch: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-12-06 15:01:42 UTC
README
A visual page builder for Filament. Editors build pages from rows, columns and blocks while looking at a live render of the real page: click to select, add blocks, open settings, add columns and drag to resize.
Blocks look like your website. The package owns the components (markup, settings, behaviour). Your site owns the appearance: blocks inherit it from your stylesheets, design tokens and component classes, never from the Filament admin theme.
Features
- Live editor canvas that renders your real layout and CSS in an iframe
- 12-column layout: rows, columns, drag-to-resize
- 15 built-in blocks, including tabs (blocks inside blocks), image carousel, video and Google Map (no API key)
- Undo and redo (50 steps), unsaved drafts, desktop / tablet / mobile preview
- Duplicate a page as a draft
- Themes: inheritance, CSS tokens, a named colour palette, your own component classes and layout
- Custom blocks written with Filament form components and Blade
- Works with the bundled page model or your own
- Plain-language settings: editors never see CSS, HTML or ratios
- Translatable: all editor text lives in publishable language files
Requirements
| PHP | 8.2 or newer (Laravel 13 needs 8.3) |
| Filament | 4.17.1+ or 5.12.1+, with at least one panel |
| Laravel | 12 or 13 |
Installation
composer require qowwa-apps/page-builder php artisan migrate php artisan storage:link
Register the plugin on a panel:
use Qowwa\PageBuilder\PageBuilderPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugin(PageBuilderPlugin::make()); }
A Pages item appears in the panel. Create a page and you land in the visual editor. Published pages are served at /pages/{slug}.
The migration runs from the package; there is nothing to publish.
Make it look like your site
Point the default theme at your stylesheet and layout in config/page-builder.php (publish it with php artisan vendor:publish --tag=page-builder-config):
'themes' => [ 'default' => [ 'stylesheets' => ['/css/site.css'], 'layout' => 'layouts.page', 'tokens' => ['primary' => '#b4231a', 'font-heading' => 'Georgia, serif'], ], ],
Documentation
- Getting started
- Using the editor
- Built-in blocks
- Theming
- Writing your own blocks
- Configuration
- Plugin reference
- Using your own page model
- Rendering and editing content in code
- Authorization and security
- Translations
- Customising and upgrading
- Troubleshooting and known limitations
- Changelog
Authorization
Editing follows your resource's policy. Without a policy, every user who can open the panel can edit and publish pages. See Authorization and security.
Development
Everything runs in Docker.
make build && make install make test # Pest make lint # Pint make analyse # Larastan make serve # demo app at http://localhost:8000/admin (admin@example.com / password)
License
MIT. See LICENSE.md.