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

Operation System Enum Laravel Package

tourze/operation-system-enum

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
webfox/laravel-backed-enums 0.85 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
datomatic/laravel-enum-helper 0.85 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
cerbero/enum 0.85 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
archtechx/enums 0.85 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
View on GitHub
Context7
sakanjo/laravel-easy-enum 0.85 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
View on GitHub
lazerg/laravel-enum-pro 0.85 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
onursimsek/laravel-extended 0.84 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
frostiede/enum-bundle 0.84 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
dev-toolbelt/enums 0.84 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
View on GitHub
nasyrov/laravel-enums 0.84 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
markbaker/enumhelper 0.84 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
eloquent/enumeration 0.83 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
azimkordpour/power-enum 0.83 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
spatie/laravel-enum 0.82 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
yokai/enum-bundle 0.82 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
foxbytehq/laravel-backed-enums 0.82 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
consistence/consistence 0.82 Consistence is a PHP library that brings stricter type safety and consistency to your code with enums, value objects, typed arrays, and DateTime helpers. It catches invalid data early and makes domain models clearer and safer. 182 — 15 — 5 3.3 3.4 NOASSERTION 5 years ago
vicgutt/php-enhanced-enum 0.82 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
bensampo/laravel-enum 0.81 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
tourze/phpunit-enum 0.81 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
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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route