ringlesoft/laravel-selectable
Generate HTML tags from Laravel collections with a simple, flexible API. Choose label/value fields (strings or closures), set selected/disabled items, add classes/data attributes, group options, and export selectable arrays for AJAX/SPAs.
Added support for IDs: Added support for adding id attributes to the selectable items using the withId method.
withDataAttribute method: Added support for passing a Closure to the withDataAttribute method to generate the data attribute value dynamically.
withClass method: Added support for passing an array of classes to the withClass method to add multiple classes to the selectable items.
Performance optimization option rendering
Full Changelog: https://github.com/ringlesoft/laravel-selectable/compare/1.0.3...1.0.4
Added support for non-object (array) collections
Introduced custom IDE helper file
First stable release
First release with basic functionality
How can I help you explore Laravel packages today?