statikbe/laravel-filament-flexible-content-block-pages
A Laravel and Filament package for building flexible, block-based pages. Compose pages from reusable content blocks, manage them in the Filament admin panel, and render dynamic layouts without hardcoding page structure. Ideal for CMS-style sites.
statikbe/laravel-filament-flexible-content-block-pages) alongside Filament, spatie/laravel-medialibrary and spatie/laravel-translatable — the package leans on all three for media fields and per-locale content.Page model and the abstract Filament page resource. Most projects either extend these or copy their structure into an app-owned model/resource; knowing which one you're doing shapes the rest of the integration.Blocks/ namespace and mirror the folder in resources/views/blocks/. This makes adding a new block a five-minute, low-risk change.@foreach over ordered blocks with @include('blocks.' . $block->handle) keeps the page view trivial. Wrap the rendered output in fragment caching keyed by page ID and updated_at.order_column.deleting observer on the parent model (or a DB-level cascade) or your blocks table will grow stale rows that break re-ordering.saved/deleted events, not just from the page model — editors update blocks far more often than they re-save the page.order_column with no gaps; if you import content programmatically, re-sequence manually afterwards.^4.2) in composer.json; patch releases in this line have been non-breaking, and the package touches Filament form APIs where majors do break.How can I help you explore Laravel packages today?