tourze/enum-extra
Enum Extra is a lightweight PHP package that extends native enums with practical helpers for labels, values, options, and Laravel-friendly validation rules. It cuts boilerplate in enum-driven forms, select lists, APIs, and config while keeping code readable, consistent, and easy to maintain.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| datomatic/laravel-enum-helper | 0.86 | Laravel Enum Helper adds handy methods to PHP enums: flag support, attribute casting, validation rules, labels, translations, select arrays, and comparison helpers, making it easy to use backed enums cleanly across your Laravel models, forms, and requests. | 35 | — | 4 | — | 0 | 7.9 | — | MIT | 7 months ago |
|
| lazerg/laravel-enum-pro | 0.86 | 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 | — | — | — | |
| tourze/phpunit-enum | 0.85 | A PHPUnit helper package for testing PHP enums, offering convenient assertions and utilities to validate enum cases, values, and behavior in your test suite. | 0 | 0 | 0 | 25 | 0 | 0.3 | 19.5 | MIT | 1 year ago | |
| isap-ou/laravel-enum-helpers | 0.85 | Laravel Enum Helpers provides convenient utilities for working with PHP enums in Laravel applications, including human-readable labels, option arrays for forms, validation support, and conversion helpers that keep enum-backed APIs and Blade views consistent. Reduce repetitive enum logic and simplify... | 6 | — | 2 | — | 0 | 20.2 | — | — | 1 week ago | |
| roundly-consulting/enums-for-laravel | 0.85 | Enums for Laravel brings first-class PHP enum support to Laravel applications. Cast enum attributes in Eloquent models, validate enum input, and work with backed values across requests and APIs. It keeps code type-safe, readable, and easy to integrate without extra boilerplate. | 5 | 0 | 0 | 3K | 0 | 18.9 | 43.7 | MIT | 3 weeks ago | |
| nasyrov/laravel-enums | 0.85 | 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 | |
| outerweb/enum-helpers | 0.85 | 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 | — | |
| terry-lonesski/laravel-string-enums | 0.84 | A lightweight Laravel package that adds string-backed enum support with handy helpers for validation, labels, and value lookups. Easily cast model attributes, compare cases, and keep your PHP enums clean, readable, and framework-friendly. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 5 years ago | |
| laravel-liberu/enums | 0.84 | Laravel Liberu Enums offers a structured enum layer for Laravel applications, with typed values, validation, casting, and helper methods that keep domain models cleaner and ensure consistent, reusable constants across your codebase. | 0 | 0 | 0 | 47 | 0 | 0.3 | 23.2 | MIT | 3 years ago | |
| peltonsolutions/laravel-enums | 0.84 | A Laravel package for working with PHP enums, offering convenient helpers and framework integration for defining, validating, casting, and using enum values across models, requests, and application code. | 1 | 2 | 0 | 0 | 0 | 0.4 | 0.5 | MIT | 2 years ago | |
| tourze/easy-admin-enum-field-bundle | 0.84 | Adds PHP enum support to EasyAdmin, automatically rendering backed enums as select fields, filters, and display values in CRUD forms so enum-backed entities need little to no manual configuration. | 0 | — | 0 | — | 0 | 0.6 | — | MIT | 1 year ago | |
| tourze/operation-system-enum | 0.83 | A small PHP enum package for representing operating systems consistently across your codebase. Use it to identify, compare, and label OS values like Windows, macOS, Linux, Android, and iOS in Laravel or plain PHP projects, with a simple typed API that avoids loose strings and magic constants. | 0 | 0 | 0 | 5 | 0 | 0.2 | 10.8 | MIT | 1 year ago | |
| 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. | 364 | 367 | 37 | 215K | 0 | 11.3 | 38.3 | MIT | 1 year ago | |
| datomatic/enum-helper | 0.83 | Laravel helper for PHP enums that adds labels, descriptions, colors, icons, select options, validation rules, and Eloquent casts. Expose enum values and names to build forms, APIs, and admin UIs with less boilerplate. | 59 | 60 | 2 | 19K | 0 | 18.7 | 40.2 | MIT | 1 month ago | |
| sakanjo/laravel-easy-enum | 0.83 | 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 | |
| bensampo/laravel-enum | 0.83 | 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 | 505K | 1 | 15.0 | 33.1 | MIT | — | |
| dive-be/php-enum-utils | 0.83 | 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 |
|
| brokeyourbike/enum-casts-laravel | 0.83 | A Laravel package that adds convenient Eloquent enum casts, letting you store and retrieve PHP enum values on model attributes with minimal boilerplate. Simplifies working with backed enums in database columns and keeps model code clean. | 0 | — | 0 | — | 0 | 0.4 | — | MPL-2.0 | 3 years ago | |
| synergitech/laravel-magic-enums | 0.82 | 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 | |
| cerbero/laravel-enum | 0.82 | 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 | — |
How can I help you explore Laravel packages today?