pboivin / filament-peek
Full-screen page preview modal for Filament
Installs: 219 427
Dependents: 12
Suggesters: 0
Security: 0
Stars: 226
Watchers: 4
Forks: 17
Open Issues: 0
Requires
- php: ^8.2
- filament/filament: ^4.0
- illuminate/contracts: ^11.0 || ^12.0
- spatie/laravel-package-tools: ^1.15
Requires (Dev)
- larastan/larastan: ^2.0 || ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9 || ^8.0
- orchestra/testbench: ^8.0 || ^9.0 || ^10.0
- pestphp/pest: ^2.0 || ^3.7
- pestphp/pest-plugin-arch: ^2.0 || ^3.0
- pestphp/pest-plugin-laravel: ^2.0 || ^3.1
- pestphp/pest-plugin-livewire: ^3.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0 || ^2.0
- phpstan/phpstan-phpunit: ^1.0 || ^2.0
- spatie/invade: ^1.1 || ^2.1
- symfony/polyfill-php82: ^1.28
- 3.x-dev
- v3.0.0
- v3.0.0-beta1
- v3.0.0-alpha2
- v3.0.0-alpha1
- 2.x-dev
- v2.4.0
- v2.3.0
- v2.2.11
- v2.2.10
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-beta4
- v2.0.0-beta3
- v2.0.0-beta2
- v2.0.0-beta1
- v2.0.0-alpha1
- 1.x-dev
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta2
- v1.0.0-beta1
- v1.0.0-alpha2
- v1.0.0-alpha1
- 0.x-dev
- v0.3.1
- v0.3.0
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.2
- v0.1.1
- v0.1
- dev-fix-tests
This package is auto-updated.
Last update: 2025-08-29 17:06:11 UTC
README
A Filament plugin to add a full-screen preview modal to your Panel pages. The modal can be used before saving to preview a modified record.
Installation
You can install the package via composer:
composer require pboivin/filament-peek:"^3.0"
Register a FilamentPeekPlugin
instance in your Panel provider:
use Pboivin\FilamentPeek\FilamentPeekPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ FilamentPeekPlugin::make(), ]); }
Then, publish the assets:
php artisan filament:assets
Upgrading from 2.x
Follow the steps in the Upgrade Guide.
Compatibility
Peek | Status | Filament | PHP |
---|---|---|---|
3.x | Current version | ^4.0 | ^8.2 |
2.x | Bugfixes only | ^3.0 | ^8.1 |
1.x | Bugfixes only | ^2.0 | ^8.0 |
Please feel free to report any issues you encounter with Peek in GitHub Issues.
Demo Projects
Here are a few example projects available to give this plugin a try:
Repository | Description |
---|---|
filament-peek-demo | Content previews on a simple Filament project with Laravel Blade views. |
Log1x/filament-starter | A great starting point for TALL stack projects using Filament. Implements content previews using full-page Livewire components. |
Documentation
The documentation is available in the 'docs' directory on GitHub:
FAQ and Known Issues
You'll find some notes and solutions to common issues in GitHub Discussions. Feel free to contribute your own tips and tricks.
Changelog
See CHANGELOG.md for more information on what has changed recently.
Contributing
See CONTRIBUTING.md for details.
Security Vulnerabilities
Review the security policy on how to report security vulnerabilities.
Credits
Acknowledgements
The initial idea was inspired by module previews in Twill.
License
The MIT License (MIT). See LICENSE.md for more information.