Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Selectable Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v1.0.6

Security

  • Escape generated option content and attributes to prevent HTML injection.

Fixed

  • Correct selected/disabled matching for arrays of values, models, and arrays.
  • Normalize array, object, and grouped collection option data.

Improved

  • Support for Laravel 13
  • Add PHPUnit coverage, Composer test command, and Laravel compatibility CI.
  • Correct facade namespace casing, IDE helper definitions, and documentation examples.
v1.0.4

Added

  • Support for IDs: Added support for adding id attributes to the selectable items using the withId method.

Improved

  • 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
v1.0.3

Added

  • Support for non-object (array) collections

Added

  • Support for IDs: Added support for adding IDs to the selectable items using the withId method.
v1.0.2

Added

  • Introduced custom IDE helper file
v1.0.1

Added

  • Support for grouped collections: Added support for grouping collections using the groupBy method.
  • Support for data attributes: Added support for specifying data attributes for the selectable items using the withDataAttribute method.
  • Support for classes: Added support for adding classes to the selectable items using the withClass method.

Improved

  • Performance optimization option rendering
v1.0.0

First release

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel