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.
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.withId method.groupBy method.withDataAttribute method.withClass method.First release
How can I help you explore Laravel packages today?