azimkordpour/power-enum
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cerbero/enum | 0.90 | A powerful enum implementation for Laravel that turns class constants into rich, type-safe enum objects. It adds validation rules, localization, Eloquent casting, comparisons, and Blade helpers while keeping enums simple and extensible. | 362 | 360 | 3 | 8K | 0 | 1.9 | 19.2 | MIT | — | |
| yokai/enum-bundle | 0.88 | Yokai Enum Bundle adds practical PHP 8.1 enum support: register enum types, expose choices in forms, validate values, and convert between enums, scalars, and database values through configurable services. | 12 | 13 | 5 | 853 | 0 | 0.1 | 17.8 | MIT | 1 year 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 |
|
| sourceboat/laravel-enumeration | 0.88 | 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 | — | — | — | |
| 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 |
|
| marc-mabe/php-enum-phpstan | 0.88 | 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 | |
| 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 | — | |
| somnambulist/enumeration | 0.88 | Strongly-typed enumeration value objects for PHP and Laravel. Define constants once and get validation rules, Eloquent casting, instance comparison, and attribute access, plus helpers for safe construction. Ideal for modelling fixed sets such as statuses, types, and roles. | 0 | 0 | 0 | 64 | 0 | 0.0 | 25.0 | MIT | — | |
| lazerg/laravel-enum-pro | 0.87 | 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 | — | — | — | |
| 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 |
|
| marc-mabe/php-enum | 0.87 | 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 | |
| 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 | |
| adrenalinkin/enum-mapper | 0.87 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| timeweb/phpstan-enum | 0.87 | 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 | |
| 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 | |
| osama-98/laravel-enum-translatable | 0.87 | A Laravel package for adding translations to PHP enums. Define localized labels and descriptions for enum cases using Laravel’s translation system, making it easy to display human-readable enum values across multiple languages. | 55 | — | 2 | — | 0 | 16.8 | — | MIT | 2 months ago | |
| dev-toolbelt/enums | 0.87 | 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.1 | 26.3 | MIT | 9 months ago | |
| mad-web/laravel-enum | 0.87 | 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. | 0 | 110 | — | 6 | — | 0.0 | 11.7 | — | — | |
| suleymanozev/enum-field | 0.87 | 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 | — | — | — | |
| frostiede/enum-bundle | 0.87 | 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 | — | — | — |
How can I help you explore Laravel packages today?