Page Preview by Andrei Feraru
CommunityCustom Filament form field that renders a live Blade page preview.
Author:
Andrei Feraru
Package health
Automated checks of this plugin's Composer package
15 checks
- Skipped: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Skipped: Dependabot or Renovate configured
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Warning: Commit and release recency — Low activity: last commit 211 days ago; last release 217 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Failed:
Current Laravel version supported
—
The newest Laravel line the package co-installs with is
11.0, which is end-of-life. View details on Plumb -
Passed:
Current PHP version supported
—
Constraint
^8.1|^8.2|^8.3supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
Custom Filament form field that renders a Blade preview.

#Installation
Install the package via composer:
composer require ferarandrei1/filament-page-preview
#Usage
Use the PreviewField component in your Filament form:
use Feraandrei1\FilamentPagePreview\Forms\Components\PreviewField;
use Filament\Forms\Form;
public function form(Form $form): Form
{
return $form->schema([
PreviewField::make('preview_field')
->previewData([
'user' => Auth::user()->username,
'previewRouteName' => 'preview',
'data' => $data,
])
->nullable(),
]);
}
#Documentation
- Creating a Preview Route - Step-by-step guide to set up routes and controllers
- Complete Filament Page Example - Full example with two-column layout and live preview
#Custom Preview View
You can publish the views to customize them:
php artisan vendor:publish --tag=filament-page-preview-views
Or, you can specify a custom view for the preview:
PreviewField::make('preview_field')
->previewView('filament.view-fields.custom-preview')
->previewData(['key' => 'value']);
#Requirements
- PHP 8.1 or higher
- Filament 3.0 or higher
- Laravel 10.0 or higher
#License
MIT License
The author
From the same author
Dynamic Settings
Centralized dynamic settings system for Filament.
Author:
Andrei Feraru
AI Chat Widget
Filament support for `openai-php/laravel`.
Author:
Andrei Feraru
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle