PHP code example of ibrahimbougaoua / radiobuttonimage

1. Go to this page and download the library: Download ibrahimbougaoua/radiobuttonimage 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/ */

    

ibrahimbougaoua / radiobuttonimage example snippets


return [
    'path' => asset('storage'),
];

RadioButtonImage::make('template_id')
->label('Templates')
->options(
	Template::all()->pluck('image', 'id')->toArray()
)
bash
php artisan vendor:publish --tag="radiobuttonimage-config"
bash
php artisan vendor:publish --tag="radiobuttonimage-views"