mad-web/laravel-enum
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sourceboat/laravel-enumeration | 0.90 | A Laravel package for defining and using enumerations in PHP, with support for validation rules, model casting, and comparing enum values in a clean, type-safe way across your application. | 0 | 9 | — | 0 | — | 0.0 | — | — | — | |
| 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 | |
| archtechx/enums | 0.89 | 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 | |
| frostiede/enum-bundle | 0.89 | A Symfony bundle that simplifies working with PHP enums, providing integration helpers and utilities to use enum types more cleanly across your application. Ideal for projects adopting PHP 8.1+ enums with Symfony. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| greg0ire/enum | 0.89 | 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 | |
| adrenalinkin/enum-mapper | 0.89 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| azimkordpour/power-enum | 0.88 | Power Enum enhances native PHP enums for Laravel with convenient helpers for labels, validation rules, Eloquent casts, and value comparisons, making status and type fields safer, more consistent, and easier to use across your application. | 41 | 41 | 0 | 2K | 0 | 0.2 | 22.3 | MIT | 1 year ago | |
| onursimsek/laravel-extended | 0.88 | 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 | |
| dev-toolbelt/enums | 0.88 | A lightweight enum toolkit for Laravel and PHP that adds practical helpers for labels, validation rules, Eloquent casts, comparisons, and collections, so backed enums fit cleanly into forms, APIs, and models without extra boilerplate. | 1 | 1 | 0 | 132 | 0 | 5.2 | 26.4 | MIT | 9 months 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 | — | — | — | |
| cerbero/laravel-enum | 0.88 | Cerbero Laravel Enum adds type-safe enum classes to Laravel, with validation rules, model casting, and helper methods for labels and values. A clean way to replace scattered constants with organized, reusable enum objects. | 189 | 190 | 19 | 3K | 0 | 1.5 | 16.2 | MIT | — | |
| suleymanozev/enum-field | 0.88 | Enum Field for Filament provides a simple Laravel form component that turns PHP enums into selectable options, with support for labels, colors, and validation so enum-backed values are easy to manage in Filament admin panels. | 0 | 2 | — | 0 | — | 0.0 | — | — | — | |
| webfox/laravel-backed-enums | 0.88 | 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 | |
| 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 | |
| dive-be/php-enum-utils | 0.88 | 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 |
|
| paillechat/php-enum | 0.88 | 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 | |
| kongulov/interact-with-enum | 0.88 | Interact with PHP enums the Laravel way. This lightweight package adds convenient helpers for backed enums so you can compare, validate, and convert values cleanly in application code and validation rules, keeping enum handling expressive and simple. | 30 | — | 0 | — | 0 | 0.2 | — | MIT | 1 year ago |
|
| daverandom/enum | 0.87 | 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 | |
| eloquent/enumeration | 0.87 | Eloquent Enumeration brings typed enum support to Laravel’s Eloquent models. Define reusable enums, cast attributes to enum instances, and keep status or type fields type-safe and expressive without leaving familiar Eloquent conventions. | 146 | — | 12 | — | 3 | 0.9 | 0.5 | MIT | 7 years ago |
|
| synergitech/laravel-magic-enums | 0.87 | 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 |
How can I help you explore Laravel packages today?