PHP code example of codebar-ag / filament-revealable-field

1. Go to this page and download the library: Download codebar-ag/filament-revealable-field library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

codebar-ag / filament-revealable-field example snippets


use CodebarAg\FilamentRevealableField\Infolists\Components\RevealableEntry;

...

public function form(Form $form): Form
{
    return $form
        ->schema([
            RevealableEntry::make('revealable')
                ->label('REVEALABLE');
        ]);
}
...