webwizo/laravel-shortcodes-filament
Filament panel integration for webwizo/laravel-shortcodes. Adds admin resources and pages to create, edit, and organize shortcodes from your Filament dashboard, letting editors manage dynamic content snippets, attributes, and previews without touching code.
type field (Static vs. Dynamic) is the roadmap-relevant change. Static shortcodes are a contained, low-risk HTML templating feature you can ship to editors today. Dynamic shortcodes let a non-developer bind a block to a live database source — that unlocks campaign pages, product/event feeds, and promo modules without a deploy. Treat these as two separate rollout decisions with different risk profiles.Adopt when:
type column).Look elsewhere or defer when:
--force migration republish and the schema change on a 1.0.x patch means you should pin and stage upgrades, not float.Two upgrade cautions worth deciding on before adoption:
{{attr}} output, and shortcodes with missing/invalid/soft-deleted lookups now render nothing rather than broken placeholders. Both are correct, but both are silent. Any template relying on an empty attribute being present will change, and any missing lookup will fail invisibly.To executives: This lets content editors build and change repeating page modules — promo blocks, listings, campaign sections — from the admin panel instead of filing engineering tickets. The commercial case is lead time on campaign and content launches, not engineering hours saved. The caveat to state plainly: this is a young v1.x package, and the release we're evaluating fixed a defect that made its dynamic-data feature return nothing at all. We should adopt the low-risk static templating path now and pilot dynamic data sources behind a permission before committing to it on revenue-facing pages.
To engineering: Filament-native shortcode registry with two modes — Static (pure HTML templates) and Dynamic (bound to a database data source via a lookup attribute). v1.0.1 adds the type column, fixes the dynamic lookup reading attributes via the wrong method, makes missing/soft-deleted lookups fail closed instead of emitting raw {{db.*}} placeholders, stops emitting empty attributes, and adds a facade for IDE autocompletion. Requires a --force migration republish and php artisan migrate.
What we're asking for:
^1.0; treat minor releases as potentially schema-changing.How can I help you explore Laravel packages today?