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
Enum Helpers

Enum Helpers Laravel Package

outerweb/enum-helpers

Laravel package that adds practical helpers to PHP enums, so you can quickly expose labels, values, options, and validation rules for forms, select fields, and APIs—reducing repetitive enum boilerplate across your application.

View on GitHub
Deep Wiki
Context7

outerweb/enum-helpers adds a set of developer-friendly utilities to PHP and Laravel backed enums, removing the boilerplate that comes with turning enum cases into labels, arrays, and form options. Instead of repeating the same mapping logic in every project, you get consistent helpers for generating key/value pairs, readable labels, and collections directly from your enum classes.

  • Generate associative arrays and select options from any backed enum
  • Derive human-readable labels with optional custom overrides
  • Convert enums to Laravel collections for use in views and APIs
  • Resolve and compare cases by value or name
  • Drop-in integration with no configuration required
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core