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
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.
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