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

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
paillechat/php-enum 0.89 PHP 7+ enum library: define enums by extending Enum and declaring constants, then instantiate via static named calls (IssueType::ONE()). Instances are strict-equal singletons, work with in_array/type hints, and can convert to/from names. 16 17 3 457 0 2.0 20.1 MIT 7 years ago
View on GitHub
Context7
konekt/enum 0.88 Lightweight PHP enum base class (pre-PHP 8.1) for defining value-safe constants via abstract Enum subclasses. Simple instantiation, validation and utilities, with docs and optional Laravel Eloquent integration via konekt/enum-eloquent. 21 21 2 61K 0 0.0 55.3 MIT
View on GitHub
Context7
laudis/typed-enum 0.88 4 4 0 26K 0 0.0 51.1 MIT
View on GitHub
Context7
adrenalinkin/enum-property-bundle 0.87 Symfony bundle integrating EnumMapper: adds Twig filters/functions to convert enum DB values to human labels and back, fetch full enum maps, and provides validation support for enum properties. Install via Composer and enable the bundle in AppKernel. 0 0 0 0 0 0.0 MIT
View on GitHub
Context7
norotaro/enumata 0.87 3 4 1 275 1 2.9 23.1 MIT 1 year ago
View on GitHub
Context7
adrenalinkin/enum-mapper 0.87 1 1 0 0 0 0.0 MIT
View on GitHub
Context7
konekt/enum-eloquent 0.86 Laravel Eloquent casting for Konekt Enums. Add the CastsEnums trait and define a $enums map on your model to automatically convert attributes to Enum objects, supporting Konekt Enum 2–4 and Laravel 8–12. 63 64 9 65K 2 1.0 41.5 MIT
View on GitHub
Context7
henzeb/enumhancer-ide-helper 0.86 Laravel IDE helper for enhanced PHP enums. Improves autocompletion and type hints for Enumhancer features in PhpStorm and similar IDEs, generating stubs/metadata so enum methods, cases, and helpers are easier to discover and use. 0 0 0 2K 0 0.3 45.8 AGPL-3.0 3 years ago
View on GitHub
Context7
larapack/doctrine-support 0.86 Laravel package that enhances Doctrine support in Laravel, including support for enum types. Install via Composer and (for Laravel 5.4 and below) register the DoctrineSupportServiceProvider. Use v0.1.3 for Laravel versions older than 5.4. 175 177 14 9K 1 4.5 23.4 MIT 6 years ago
View on GitHub
Context7
daverandom/enum 0.85 Lightweight PHP enum base class: extend a single abstract class and define members as constants. Includes static helpers to validate and resolve enum names and values. Useful for simple, shared enum functionality. 0 0 0 2 0 0.3 6.6 MIT 8 years ago
View on GitHub
Context7
spatie/laravel-enum 0.85 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. 365 368 36 118K 0 11.3 34.7 MIT 1 year ago
View on GitHub
Context7
prinsfrank/glyph-lists 0.85 PHP package that reformats Adobe Glyph List (AGL/AGLFN) data into easy-to-use PHP enum classes. Includes derived datasets from adobe-type-tools/agl-aglfn (BSD-3) while the code is MIT-licensed, with proper attribution. 0 0 0 7K 0 6.5 55.9 NOASSERTION 8 months ago
View on GitHub
Context7
art-fatal/doctrine-enum-bundle 0.84 0 0 0 0.0
View on GitHub
Context7
atournayre/easyadmin-fields-bundle 0.84 0 0 0 0 1 0.7 3 years ago
View on GitHub
Context7
timeweb/phpstan-enum 0.84 PHPStan extension for PHP enums. Provides additional rules and type inference to catch invalid enum values and comparisons, improve static analysis around backed/unit enums, and surface enum-related bugs early in CI. 44 44 7 50K 1 5.1 42.0 MIT 1 year ago
View on GitHub
Context7
henzeb/enumhancer 0.84 69 70 8 26K 0 21.4 39.3 AGPL-3.0 5 months ago
View on GitHub
Context7
acelaya/doctrine-enum-type 0.84 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 13K 1 2.1 19.5 MIT 5 years ago
View on GitHub
Context7
aboutcoders/enum-serializer-bundle 0.83 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 437 1 0.6 28.2 MIT 5 years ago
View on GitHub
Context7
archtechx/enums 0.83 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. 568 567 23 530K 2 7.0 41.3 MIT 1 year ago
View on GitHub
Context7
fresh/doctrine-enum-bundle 0.83 Symfony bundle adding ENUM type support to Doctrine ORM/DBAL. Register custom enum types and map them to entity fields for safer, consistent values across databases. Works with modern Symfony/Doctrine versions and common platforms like PostgreSQL, MySQL, SQLite, and MSSQL. 462 474 75 55K 11 29.0 35.2 MIT 5 months 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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
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