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

Enums Laravel Package

prinsfrank/enums

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
marc-mabe/php-enum-phpstan 0.86 PHPStan extension for marc-mabe/php-enum. Teaches PHPStan about enum accessor methods and allowed values so static analysis understands your enumerations and catches invalid usage. Install with Composer and include the provided extension.neon. 12 12 6 9K 0 2.6 39.3 BSD-3-Clause 1 year ago
View on GitHub
marc-mabe/php-enum 0.84 Native PHP enum implementation via an abstract base class. Extend it to define enumerations from public constants (supports scalars, null, and arrays), create and compare enum instances, and keep a strict set of named values for safer domain modeling. 498 506 35 8M 2 12.9 55.1 BSD-3-Clause 1 year ago
View on GitHub
adrenalinkin/enum-mapper 0.84 — 1 1 0 0 0 0.0 — MIT —
View on GitHub
paillechat/php-enum 0.84 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 847 0 2.0 23.6 MIT 8 years ago
View on GitHub
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 487 1 0.6 28.8 MIT 5 years ago
View on GitHub
konekt/enum 0.83 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 105K 0 0.2 50.8 MIT —
View on GitHub
timeweb/phpstan-enum 0.83 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 62K 1 5.1 43.4 MIT 1 year ago
View on GitHub
henzeb/enumhancer 0.83 — 69 69 8 40K 0 13.0 39.2 AGPL-3.0 10 months ago
View on GitHub
laudis/typed-enum 0.82 — 4 4 0 43K 0 0.0 54.4 MIT —
View on GitHub
art-fatal/doctrine-enum-bundle 0.82 — 0 0 — 0 — 0.0 — — —
View on GitHub
spatie/laravel-enum 0.81 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
adrenalinkin/enum-property-bundle 0.81 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
henzeb/enumhancer-ide-helper 0.81 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 827 0 0.3 40.3 AGPL-3.0 3 years ago
View on GitHub
fresh/doctrine-enum-bundle 0.79 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. 460 472 74 73K 11 21.2 34.7 MIT 10 months ago
View on GitHub
elao/enum 0.79 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. 327 327 29 46K 15 25.0 37.3 MIT 6 months ago
View on GitHub
konekt/enum-eloquent 0.78 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 121K 2 1.0 45.1 MIT —
View on GitHub
norotaro/enumata 0.78 — 3 4 1 303 1 2.9 26.0 MIT 1 year ago
View on GitHub
archtechx/enums 0.78 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
intervention/image 0.78 Intervention Image is a PHP image manipulation library with a simple API for resizing, cropping, filters, and format conversion using GD or Imagick. It integrates smoothly with Laravel and is ideal for handling uploads and dynamic image processing. 14,382 14,881 1,502 9M 24 79.4 54.1 MIT 1 week ago
View on GitHub
Context7
myclabs/php-enum 0.77 myclabs/php-enum brings SplEnum-style enums to PHP. Define enum classes, get autogenerated static constructors, validate values, compare instances, list possible values, and use enums as parameter/return types with extra methods—without a PHP extension. 2,718 2,754 125 4M 12 30.1 47.7 MIT 1 year ago
View on GitHub
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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings