Search by

qowwa-apps / page-builder

faresmuhammadq

WordPress-style visual page builder for Filament: live canvas, rows, columns and blocks that inherit your site theme.

Package info

github.com/Qowwa-Apps/page-builder

pkg:composer/qowwa-apps/page-builder

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-12-06 14:53 UTC

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

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.