|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| prinsfrank/enums | 0.90 | — | 2 | 2 | 1 | 53K | 0 | 1.8 | 55.3 | MIT | 1 year ago | |
| aboutcoders/enum-serializer-bundle | 0.87 | 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 | 594 | 1 | 0.6 | 30.0 | MIT | 5 years ago | |
| norotaro/enumata | 0.87 | — | 3 | 4 | 1 | 257 | 1 | 2.9 | 25.0 | MIT | 1 year ago | |
| henzeb/enumhancer | 0.87 | — | 69 | 70 | 8 | 22K | 0 | 18.4 | 36.6 | AGPL-3.0 | 7 months ago | |
| adrenalinkin/enum-mapper | 0.86 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | 8K | 0 | 2.6 | 38.8 | BSD-3-Clause | 1 year ago | |
| paillechat/php-enum | 0.85 | 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 | 508 | 0 | 2.0 | 20.6 | MIT | 7 years ago | |
| elao/enum | 0.85 | 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 | 33K | 15 | 30.5 | 36.7 | MIT | 3 months ago | |
| art-fatal/doctrine-enum-bundle | 0.85 | — | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| henzeb/enumhancer-ide-helper | 0.85 | 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 | 1K | 0 | 0.3 | 42.9 | AGPL-3.0 | 3 years ago | |
| 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 | 48K | 1 | 5.1 | 42.1 | MIT | 1 year ago | |
| fresh/doctrine-enum-bundle | 0.84 | 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. | 461 | 473 | 74 | 60K | 11 | 25.7 | 34.2 | MIT | 7 months ago | |
| simplesamlphp/assert | 0.84 | Fork of webmozart/assert that lets every assertion throw your chosen exception (or a default AssertionFailedException) instead of always InvalidArgumentException. Adds a few custom assertions aimed at XML/SAML2 use cases. | 7 | 7 | 3 | 205K | 0 | 20.5 | 64.9 | LGPL-2.1 | 3 weeks ago | |
| 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 | 14K | 1 | 2.1 | 19.5 | MIT | 5 years ago | |
| adrenalinkin/enum-property-bundle | 0.83 | 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 | — | |
| konekt/enum-eloquent | 0.83 | 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 | 66K | 2 | 1.0 | 41.6 | MIT | — | |
| spatie/laravel-enum | 0.83 | 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. | 366 | 369 | 36 | 147K | 0 | 11.3 | 36.0 | MIT | 1 year ago | |
| 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. | 566 | 568 | 23 | 597K | 2 | 7.0 | 42.0 | MIT | 1 year ago | |
| open-southeners/laravel-model-status | 0.82 | Lightweight Laravel model status handling using native PHP enums—no extra tables needed. Define a status enum, attach it via a PHP attribute, and use a trait for helpers like setStatus, setStatusWhen, hasStatus, and optional status events. | 0 | 0 | 0 | 87 | 0 | 18.6 | 27.9 | MIT | 3 months ago | |
| prinsfrank/standards | 0.81 | Daily-updated PHP 8.1+ enum collection of international standards (ISO, IANA, SIX, Library of Congress, etc.). Easy Composer install, strong typing for codes like countries, currencies, languages, and more—kept current via automated upstream sync. | 484 | 485 | 17 | 61K | 0 | 32.4 | 34.1 | MIT | 1 week ago |
How can I help you explore Laravel packages today?