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

elao/enum

Opinionated extensions for PHP 8.1+ native enums with readable labels, flag/bitmask enums, and extra values. Includes integrations for Symfony (Forms, HTTP Kernel arg resolver, Translation, VarDumper), Doctrine ORM/ODM, and Faker.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
webfox/laravel-backed-enums 0.91 Adds Laravel-friendly helpers to PHP backed enums: generate labels and option lists, validate enum values, and use them cleanly in forms, APIs, and application logic. A lightweight way to make backed enums more practical in Laravel. 44 45 4 404 1 9.2 15.2 MIT 7 months ago
View on GitHub
nasyrov/laravel-enums 0.90 Laravel Enums adds first-class enumeration support: define typed enum classes, then use them as Eloquent casts, validation rules, and translatable labels. Helpers for values, options, and comparisons make model attributes and form choices safer and more expressive. 32 — 9 — 0 0.7 — MIT 5 years ago
View on GitHub
adrenalinkin/enum-mapper 0.90 — 1 1 0 0 0 0.0 — MIT —
View on GitHub
lazerg/laravel-enum-pro 0.90 Laravel Enum Pro enhances PHP enums for Laravel with validation rules, Eloquent casts, labels, descriptions, and localization. Build select options and display human-friendly enum values in forms, APIs, and Blade views with less boilerplate. 43 — 2 — 1 0.4 — — —
View on GitHub
synergitech/laravel-magic-enums 0.90 Laravel Magic Enums adds powerful helpers to PHP enums: labels, descriptions, validation rules, model casts, select options, and fluent methods, making enums more expressive and convenient throughout Laravel applications. 9 — 0 — 0 9.4 — MIT 6 months ago
View on GitHub
Context7
mad-web/laravel-enum 0.89 A Laravel package that provides a lightweight enum implementation with model attribute casting, validation rules, translations, and helper methods for working with predefined values throughout your application. 0 110 — 6 — 0.0 11.7 — —
View on GitHub
sakanjo/laravel-easy-enum 0.89 Simplify PHP enums in Laravel with sakanjo/laravel-easy-enum. This lightweight package provides helpers for labels, values, options, validation rules, and Eloquent/Blade integration, reducing boilerplate and keeping enum-driven code clean and readable. 10 — 0 — 0 12.4 — MIT 5 months ago
View on GitHub
onursimsek/laravel-extended 0.89 Laravel Extended adds developer-friendly extensions to Laravel, including practical helpers, macros, and model/query conveniences that reduce boilerplate for common tasks. It stays lightweight and framework-native, making it easy to drop into existing apps. 28 28 3 0 0 4.3 — MIT 9 months ago
View on GitHub
cerbero/enum 0.89 A powerful enum implementation for Laravel that turns class constants into rich, type-safe enum objects. It adds validation rules, localization, Eloquent casting, comparisons, and Blade helpers while keeping enums simple and extensible. 362 360 3 8K 0 1.9 19.2 MIT —
View on GitHub
foxbytehq/laravel-backed-enums 0.89 A Laravel package that adds handy helpers to PHP backed enums, including human-readable labels, validation rules, select options, comparisons, and Eloquent-friendly utilities so you can use enums confidently across forms, requests, and models. 44 45 4 348 1 9.3 14.4 MIT 7 months ago
View on GitHub
mrgoodbytes8667/enum-serializer-bundle 0.89 A Symfony bundle that adds serialization support for PHP enums, making it easy to convert backed enum cases to and from scalar values across APIs, Doctrine and config, with lightweight integration and minimal setup. 0 0 0 103 0 0.0 27.9 NOASSERTION 2 years ago
View on GitHub
aboutcoders/enum-serializer-bundle 0.89 Symfony bundle adding JMS Serializer support for myclabs/php-enum enums. Register enum types via config or tagged services, then serialize/deserialize to JSON using enum class names in @Type annotations or directly in serializer calls. 3 4 5 487 1 0.6 28.8 MIT 5 years ago
View on GitHub
spatie/laravel-enum 0.88 Laravel integration for spatie/enum: use Enum base class in Laravel, cast model attributes to enums (including nullable and arrays), and get Laravel-friendly behavior via custom casts and Castable support for Eloquent. 364 367 37 215K 0 11.3 38.3 MIT 1 year ago
View on GitHub
lamoda/enum-bundle 0.88 Lamoda EnumBundle is a lightweight Symfony bundle for modeling enumerated values as typed PHP classes, with labels, validation, Doctrine DBAL mapping, and form choice integration, helping teams keep reusable enum definitions consistent across domain logic and UI in Symfony applications. 10 10 3 1 0 0.1 0.5 MIT 2 years ago
View on GitHub
dasprid/enum 0.88 dasprid/enum brings type-safe, object-based enums to PHP. Define a fixed set of values with labels, comparisons, serialization and validation, reducing magic strings/ints and improving readability in domain models and configuration. 388 391 16 12M 0 2.4 55.3 BSD-2-Clause —
View on GitHub
Context7
laudis/typed-enum 0.88 — 4 4 0 43K 0 0.0 54.4 MIT —
View on GitHub
emreyarligan/enum-concern 0.88 Adds a lightweight EnumConcern trait for PHP/Laravel enums with helpers for labels, values, options, validation rules, and select arrays, making enums easier to use in forms, APIs, and Blade views. 212 212 8 3K 2 2.1 16.9 MIT 1 year ago
View on GitHub
archtechx/enums 0.88 Modern PHP enum helpers: casting, validation, labels, and convenience methods for native enums. Add common patterns like options arrays, random values, and comparisons to make enums easier to use across Laravel apps and APIs. 567 568 23 597K 2 6.9 41.6 MIT 1 year ago
View on GitHub
Context7
greg0ire/enum 0.87 A lightweight PHP enumeration library that lets you define enum-like classes with constants, validate values, and access available constants. It provides a simple AbstractEnum base class for projects that need typed, reusable sets of values without heavy dependencies. 45 47 4 2K 2 0.7 23.9 NOASSERTION 3 years ago
View on GitHub
acelaya/doctrine-enum-type 0.87 Doctrine DBAL type for mapping MyCLabs\Enum\Enum values to entity columns. Provides a reusable PhpEnumType to register enums as custom Doctrine types. Note: largely obsolete now that PHP has native enums and Doctrine supports them. 131 136 14 14K 1 2.1 19.5 MIT 5 years ago
View on GitHub
Context7
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