Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Enum Utils Laravel Package

dive-be/php-enum-utils

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.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
yokai/enum-bundle 0.90 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
View on GitHub
frostiede/enum-bundle 0.90 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 — — —
View on GitHub
nasyrov/laravel-enums 0.89 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
View on GitHub
cerbero/laravel-enum 0.89 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 —
View on GitHub
foxbytehq/laravel-backed-enums 0.89 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
View on GitHub
lazerg/laravel-enum-pro 0.89 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 — — —
View on GitHub
markbaker/enumhelper 0.88 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
View on GitHub
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
View on GitHub
timeweb/phpstan-enum 0.88 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
View on GitHub
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
View on GitHub
vicgutt/php-enhanced-enum 0.88 A PHP package that enhances native enums with extra helpers and conveniences, making them easier to work with in Laravel and plain PHP projects alike. 0 0 0 146 0 0.0 29.9 MIT 4 years ago
View on GitHub
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
View on GitHub
tourze/phpunit-enum 0.88 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
View on GitHub
myclabs/php-enum 0.88 myclabs/php-enum brings SplEnum-style enums to PHP. Define enum classes, get autogenerated static constructors, validate values, compare instances, list possible values, and use enums as parameter/return types with extra methods—without a PHP extension. 2,718 2,754 125 4M 12 30.1 47.7 MIT 1 year ago
View on GitHub
konekt/enum 0.88 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 —
View on GitHub
eloquent/enumeration 0.88 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
henzeb/enumhancer 0.88 — 69 69 8 40K 0 13.0 39.2 AGPL-3.0 10 months ago
View on GitHub
quantumtecnology/enum-basics-extension 0.88 An extension for the enum-basics package that adds extra helpers and utilities for PHP and Laravel enums. It simplifies common enum tasks such as value lookup, labeling, comparison, and conversion, giving you a clean, consistent API for everyday enum handling. 1 1 0 743 0 0.0 35.5 MIT —
View on GitHub
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
View on GitHub
outerweb/enum-helpers 0.88 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 —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource