PHP code example of alkoumi / filament-image-radio-button
1. Go to this page and download the library: Download alkoumi/filament-image-radio-button 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/ */
alkoumi / filament-image-radio-button example snippets
use Alkoumi\FilamentImageRadioButton\Forms\Components\ImageRadioGroup;
ImageRadioGroup::make('report_id')
->disk('reports')
->options(fn () => Report::pluck('file', 'id')->toArray()),