|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-enum | 0.90 | 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 | |
| konekt/enum | 0.89 | 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 | — | |
| spatie/enum | 0.89 | Obsolete: PHP 8.1+ has native enums (recommended). Spatie Enum provides strongly typed, object-based enums for older PHP versions, enabling IDE-friendly static analysis and refactoring. Define enums via @method annotations and call StatusEnum::draft(). | 854 | 857 | 67 | 2M | 0 | 15.3 | 46.3 | MIT | 4 years ago | |
| bensampo/laravel-enum | 0.88 | Laravel Enum provides a powerful enum implementation for Laravel with class-constant definitions, instantiation, casting, validation, localization, bitwise/flag enums, and an artisan generator. Not recommended for new projects—use native PHP 8.1 enums. | 2,028 | 2,042 | 157 | 502K | 1 | 15.0 | 33.1 | MIT | — | |
| greg0ire/enum | 0.88 | 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 | |
| henzeb/enumhancer-ide-helper | 0.88 | 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 | |
| lazerg/laravel-enum-pro | 0.88 | 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 | — | — | — | |
| nasyrov/laravel-enums | 0.88 | 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 | |
| daverandom/enum | 0.88 | 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 | 1 | 0 | 0.3 | 4.2 | MIT | 8 years ago | |
| markbaker/enumhelper | 0.87 | A lightweight PHP helper for native enums, offering convenient methods for listing cases, names and values and converting enums into arrays or options for forms, validation and select inputs. | 28 | 28 | 1 | 835 | 0 | 0.2 | 20.4 | MIT | 4 years ago | |
| sakanjo/laravel-easy-enum | 0.87 | 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 | |
| onursimsek/laravel-extended | 0.87 | 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 | |
| dive-be/php-enum-utils | 0.87 | Utilities for PHP 8.1+ enums in Laravel: convert enum cases to arrays, values, options, and labels for forms and APIs, compare and inspect cases, and cut boilerplate with a small, dependency-free helper set that makes working with native enums painless in everyday application code. | 31 | — | 0 | — | 0 | 4.6 | — | MIT | 9 months ago |
|
| chadsikorra/php-simple-enum | 0.87 | A lightweight, dependency-free enum implementation for PHP. Define constant sets with helper methods for validation, value lookup, and comparison, useful where native enums aren't available. Simple API that's easy to drop into existing projects. | 11 | — | 0 | — | 0 | 0.1 | — | MIT | — |
|
| yeugone/enum-bundle | 0.87 | yeugone/enum-bundle is a PHP package for Laravel developers seeking a cleaner way to organize and work with enums. It bundles practical enum utilities that help define type-safe values, reduce scattered constants, and keep application code more structured and readable across your project. | 12 | 12 | 5 | 0 | 0 | 0.1 | — | MIT | 1 year ago | |
| outerweb/enum-helpers | 0.87 | Laravel package that adds practical helpers to PHP enums, so you can quickly expose labels, values, options, and validation rules for forms, select fields, and APIs—reducing repetitive enum boilerplate across your application. | 1 | 1 | 0 | 94 | 0 | 0.4 | 24.0 | MIT | — | |
| mrgoodbytes8667/enum-serializer-bundle | 0.87 | 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 | |
| foxbytehq/laravel-backed-enums | 0.87 | 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 | |
| ehyiah/mapping-bundle | 0.87 | — | 2 | 3 | 1 | 69 | 1 | 6.7 | 19.0 | MIT | 1 year ago | |
| webfox/laravel-backed-enums | 0.87 | 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 |
How can I help you explore Laravel packages today?