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

Enum Laravel Package

tuscanicz/enum

tuscanicz/enum offers a lightweight enum abstraction for Laravel and PHP projects, with typed constant sets, value comparison, and helpers for validation and model integration. It reduces boilerplate when representing fixed domain values in forms, filters, and Eloquent-backed applications.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
laudis/typed-enum 0.83 — 4 4 0 43K 0 0.0 54.4 MIT —
View on GitHub
davidianbonner/enumerated 0.83 Enumerated brings first-class enum support to Laravel. Define backed enums and use them in Eloquent casts, validation rules, and form requests, with helpers for labels, options, and comparisons. Keeps domain values type-safe and readable. 1 1 2 1K 0 10.7 43.2 MIT 5 months ago
View on GitHub
terry-lonesski/laravel-string-enums 0.83 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
View on GitHub
nasyrov/laravel-enums 0.83 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
mad-web/laravel-enum 0.83 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 — —
View on GitHub
greg0ire/enum 0.82 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
View on GitHub
myclabs/php-enum 0.82 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
cerbero/enum 0.82 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 —
View on GitHub
roundly-consulting/enums-for-laravel 0.82 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
View on GitHub
Context7
datomatic/laravel-enum-helper 0.82 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.82 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
bensampo/laravel-enum 0.82 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 —
View on GitHub
onursimsek/laravel-extended 0.82 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
View on GitHub
paillechat/php-enum 0.81 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
View on GitHub
spatie/laravel-enum 0.81 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
View on GitHub
osama-98/laravel-enum-translatable 0.81 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
View on GitHub
daverandom/enum 0.81 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
peltonsolutions/laravel-enums 0.81 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
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.
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
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect