blemli / formsettings-for-filament
rule your forms
Package info
github.com/blemli/formsettings-for-filament
pkg:composer/blemli/formsettings-for-filament
Fund package maintenance!
v0.1.2
2026-07-30 19:47 UTC
Requires
- php: ^8.2
- filament/filament: ^4.0|^5.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^3.7|^4.0
- pestphp/pest-plugin-arch: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
This package is not auto-updated.
Last update: 2026-07-31 05:12:17 UTC
README
rule your forms
A gear on your form pages that lets every user tune the form like the table column selector: reorder the tab order, hide optional fields, pick an autofocus entry point, and choose what the submit button does (save / save & next / save & back, cmd+enter included).
Installation
composer require blemli/formsettings-for-filament
php artisan formsettings-for-filament:install # publishes config + migration (only needed with persist())
Usage
use Blemli\FormSettings\FormSettingsPlugin; $panel->plugin( FormSettingsPlugin::make() ->globally() // gear on all Create/Edit pages … ->persist() // … settings per user in the DB instead of the session ->presets() // … named presets ->authorize('use-formsettings') // … only for power users: bool, closure or gate ability (plays nice with Filament Shield) );
Without globally(), opt single pages in with the HasFormSettings trait:
use Blemli\FormSettings\Concerns\HasFormSettings; use Filament\Resources\Pages\EditRecord; class EditPost extends EditRecord { use HasFormSettings; }
Uninstall cleanly with php artisan formsettings:uninstall.
License
MIT — see LICENSE.
