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
Supercharged Enums

Supercharged Enums Laravel Package

bensondevs/supercharged-enums

Supercharged Enums adds helpful, expressive methods to PHP 8.1+ enums so you can do more with less code in your Laravel apps. It keeps enum logic clean and readable, with a simple API for common tasks like labels, comparisons, and validation.

View on GitHub
Deep Wiki
Context7

Supercharged Enums is a lightweight PHP/Laravel package that extends native PHP enums with a set of expressive, developer-friendly helpers. Instead of scattering match statements and array mapping throughout your codebase, you can call convenient methods directly on your enum to get labels, values, options, and validation helpers—keeping your domain logic clean, consistent, and type-safe.

It integrates seamlessly with Laravel's validation and Blade layers, so enums become first-class citizens in forms, API responses, and UI selectors without extra boilerplate.

  • Generate associative options arrays for dropdowns and selects
  • Retrieve human-readable labels via attributes or naming conventions
  • Convert enums to arrays/collections for APIs and serialization
  • Built-in validation rules for form requests
  • Compare and resolve enums with expressive helper methods
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package