Filament Revealable Field is a Infolist Field for toggling the advisability of data.
Package | PHP | Laravel | Filament Infolists |
---|---|---|---|
v1.0 | ^8.1 | ^10.45, ^11.0 | ^3.2 |
You can install the package via composer:
composer require codebar-ag/filament-revealable-field
php artisan filament:assets
Infolists:
use CodebarAg\FilamentRevealableField\Infolists\Components\RevealableEntry;
...
public function form(Form $form): Form
{
return $form
->schema([
RevealableEntry::make('revealable')
->label('REVEALABLE');
]);
}
...
Copy your own phpunit.xml-file.
cp phpunit.xml.dist phpunit.xml
Run the tests:
./vendor/bin/pest
node bin/build
npx tailwindcss -i resources/css/filament-revealable-field.css -o dist/filament-revealable-field.css
Note: there is no output, but the build will be in the dist
directory.
Please see CHANGELOG for recent changes.
Please see CONTRIBUTING for details.
composer test
./vendor/bin/pint
Please review our security policy on reporting security vulnerabilities.
- Rhys Lees
- Sebastian Fix
- All Contributors
- Skeleton Repository from Spatie
- Laravel Package Training from Spatie
The MIT License (MIT). Please have a look at License File for more information.