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 Options Laravel Package

spatie/laravel-options

Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner.

View on GitHub
Deep Wiki
Context7
1.2.0
  • Some cleanup of the code
  • Add support for only and except

If you're implementing your own Provider which is technically possible but not documented (and thus we allow ourselves to make braking changes here), add the equals method since it is now required.

1.1.0
  • Add support for a nullable value
  • Add support for iterating over options
1.0.3
  • allow to customize label and value array keys (#3)
1.0.2
  • rename create to forProvider
1.0.1
  • Add support for converting options to validation rules (#2)
1.0.0
  • initial release
0.0.2
0.0.1
  • prerelease
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai