Skip to content

Radio button image is all about replacing traditional radio buttons with images

License

Notifications You must be signed in to change notification settings

holmesadam/RadioButtonImage

 
 

Repository files navigation

Radio button image

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Radio button image is all about replacing traditional radio buttons with images.

Youtube Video

Installation

You can install the package via composer:

composer require ibrahimbougaoua/radiobuttonimage

You can publish the config file with:

php artisan vendor:publish --tag="radiobuttonimage-config"

This is the contents of the published config file:

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

Optionally, you can publish the views using

php artisan vendor:publish --tag="radiobuttonimage-views"

Usage

RadioButtonImage::make('template_id')
->label('Templates')
->options(
	Template::all()->pluck('image', 'id')->toArray()
)

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Radio button image is all about replacing traditional radio buttons with images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 62.2%
  • Blade 37.8%