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

Enumerated Laravel Package

davidianbonner/enumerated

Enumerated brings first-class enum support to Laravel. Define backed enums and use them in Eloquent casts, validation rules, and form requests, with helpers for labels, options, and comparisons. Keeps domain values type-safe and readable.

View on GitHub
Deep Wiki
Context7

Enumerated is a lightweight PHP package that brings type-safe enumeration support to your Laravel applications. It lets you model fixed sets of values—statuses, roles, payment methods—as dedicated classes, keeping magic strings out of your codebase and making invalid values impossible to represent.

Enums integrate cleanly with Eloquent and validation, so you can persist them, compare them, and accept them from requests without boilerplate.

  • Strongly typed enum classes with constants and helper methods
  • Seamless Eloquent casting for database columns
  • Built-in validation rules for form requests
  • Easy retrieval of labels and values for dropdowns
  • Simple, framework-agnostic API with minimal footprint
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons