ibrahimbougaoua / radiobuttonimage
This is my package radiobuttonimage
v1.1.3
2024-09-24 10:20 UTC
Requires
- php: ^8.1
- filament/filament: ^2.0|^3.0-stable
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-11-04 20:35:22 UTC
README
Radio button image is all about replacing traditional radio buttons with images.
Support us
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.