pboivin / filament-peek
Full-screen page preview modal for Filament
Installs: 113 376
Dependents: 6
Suggesters: 0
Security: 0
Stars: 172
Watchers: 2
Forks: 15
Open Issues: 0
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/contracts: ^10.0 || ^11.0
- spatie/laravel-package-tools: ^1.15
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/invade: ^1.1
- symfony/polyfill-php82: ^1.28
- 2.x-dev
- 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-feat/previewer-component
This package is auto-updated.
Last update: 2024-10-24 13:46:54 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:"^2.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 1.x
Follow the steps in the Upgrade Guide.
Compatibility
Please feel free to report any issues you encounter with Peek in this repository. I'll work with you to determine where the issue is coming from.
Demo Projects
Here are a few example projects available to give this plugin a try:
Documentation
The documentation is available in the 'docs' directory on GitHub:
FAQ and Known Issues
I've started compiling some notes and solutions to common issues in Discussions. Feel free to contribute your own tips and tricks.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Acknowledgements
The initial idea is heavily inspired by module previews in Twill CMS.
License
The MIT License (MIT). Please see License File for more information.