ibnaqil / secure-field
Secure and encrypted input field for Filament
v1.0.1
2025-06-24 04:40 UTC
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/support: ^10.0 || ^11.0
README
A secure text input field for Filament that encrypts data when saving and decrypts on load — useful for passphrases or confidential input.
Installation
composer require ibnaqil/secure-field
Usage
use Ibnaqil\SecureField\Components\SecureField;
SecureField::make('passphrase')
->label('Secure Passphrase')
->required(),
That's it! Your data will be encrypted in storage and decrypted when displayed.
🔐 Notes
Requires Laravel 10+ and Filament 3
Uses Laravel's built-in encrypt() and decrypt() helpers