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.
Laravel Selectable is a zero-configuration package that generates HTML <option> elements directly from Laravel collections. Instead of writing repetitive @foreach loops in Blade, you can call a fluent method like $users->toSelectOptions(selected: $selectedId) to produce ready-to-render options. Labels and values are HTML-escaped, so database content safely renders with {!! !!}.
How can I help you explore Laravel packages today?