ibrahimbougaoua/radiobuttonimage
A Laravel package that adds an image-based radio button form input, letting users pick options by clicking pictures instead of plain radio controls. It provides a Blade component and validation-friendly integration for quickly building visual selectors in your Laravel forms.
Architecture fit
composer.json): a Laravel auto-discovered service provider, one or more anonymous/class Blade components, publishable views and CSS/JS assets, and possibly a config file. Anything beyond that — middleware, routes, database touches — would be a red flag for a UI widget.Integration feasibility
vendor:publish for assets/views. Realistic effort to a working spike: half a day, most of it spent on styling and accessibility rather than wiring.public/ asset copy? Does the radio group render a proper name, value, checked, old(), and @error behavior so it composes with Laravel validation and Laravel's form error bags?alt/aria semantics. Image-as-radio implementations frequently break screen readers and form autofill.Technical risk
Key questions
composer.json, and is Laravel 11/12 supported?wire:model, and does state survive re-renders?Stack fit
x-form.image-radio component that delegates to the package, so application views never reference the vendor namespace directly. This makes fork-or-replace a one-file change.Migration path
old() repopulation.vendor:publish) and commit them, so upstream changes cannot silently alter our UI. At that point we are maintaining a fork in all but name.Compatibility
Sequencing
composer.json, service provider, and Blade source (1–2 hours).Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?