ringlesoft/laravel-selectable
Laravel Selectable generates HTML select options directly from Laravel collections using a fluent, chainable API. Customize labels and values with strings or closures, set selected/disabled options, add data attributes, grouping, and export arrays for AJAX or 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?