Weave Code
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

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.

View on GitHub
Deep Wiki
Context7
1.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.
1.0.5
  • Improved IDE Helper for better auto-completion
  • Minor bug fixes
1.0.4
  • 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

1.0.3

Added support for non-object (array) collections

1.0.2

Introduced custom IDE helper file

1.0.1

First stable release

1.0.0

First release with basic functionality

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor