lamoda/enum-bundle
Lamoda EnumBundle is a lightweight Symfony bundle for modeling enumerated values as typed PHP classes, with labels, validation, Doctrine DBAL mapping, and form choice integration, helping teams keep reusable enum definitions consistent across domain logic and UI in Symfony applications.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lamoda/cleaner-bundle | 0.90 | A lightweight Symfony bundle from Lamoda that provides reusable cleaner services for sanitizing and normalizing application data. Configure cleaning rules, integrate them into PHP workflows, and keep input and domain data consistent with minimal boilerplate. | 2 | 2 | 3 | 0 | 0 | 0.1 | — | MIT | 5 years ago | |
| mrgoodbytes8667/enum-serializer-bundle | 0.88 | A Symfony bundle that adds serialization support for PHP enums, making it easy to convert backed enum cases to and from scalar values across APIs, Doctrine and config, with lightweight integration and minimal setup. | 0 | 0 | 0 | 103 | 0 | 0.0 | 27.9 | NOASSERTION | 2 years ago | |
| lazerg/laravel-enum-pro | 0.88 | 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 | — | — | — | |
| 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 | |
| adrenalinkin/enum-property-bundle | 0.88 | Symfony bundle integrating EnumMapper: adds Twig filters/functions to convert enum DB values to human labels and back, fetch full enum maps, and provides validation support for enum properties. Install via Composer and enable the bundle in AppKernel. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | |
| mhujer/consistence-bundle | 0.87 | Symfony bundle integrating the Consistence library, adding strict typing, enums, and value object support to your Symfony app. Provides service and Doctrine integration for cleaner domain models. | 1 | 1 | 1 | 35 | 0 | 0.0 | 17.5 | MIT | — | |
| nasyrov/laravel-enums | 0.87 | 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 | |
| yeugone/enum-bundle | 0.87 | yeugone/enum-bundle is a PHP package for Laravel developers seeking a cleaner way to organize and work with enums. It bundles practical enum utilities that help define type-safe values, reduce scattered constants, and keep application code more structured and readable across your project. | 12 | 12 | 5 | 0 | 0 | 0.1 | — | MIT | 1 year ago | |
| padam87/attribute-bundle | 0.87 | A Symfony bundle for adding flexible, configurable attributes to Doctrine entities without schema changes. Define attribute types, attach dynamic values to records, and query them through a simple, reusable API. | 24 | 24 | 12 | 4 | 6 | 2.2 | 2.8 | MIT | 11 years ago | |
| fervo/enum-bundle | 0.86 | fervo/enum-bundle provides practical utilities for working with PHP enums in Laravel applications, including helpers for enum-backed model attributes, validation, and common conversions so enum values stay type-safe and easy to use throughout your codebase. | 11 | 11 | 9 | 1K | 3 | 1.2 | 28.6 | — | 4 years ago | |
| palabs/enum-bundle | 0.86 | Palabs Enum Bundle adds structured, reusable enum support to Laravel and PHP projects. It simplifies defining and organising enum cases so domain values stay consistent, readable and easy to maintain across your application. | 2 | 2 | 1 | 1 | 0 | 0.2 | 1.7 | MIT | — | |
| frostiede/enum-bundle | 0.86 | 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 | — | — | — | |
| fresh/doctrine-enum-bundle | 0.85 | Symfony bundle adding ENUM type support to Doctrine ORM/DBAL. Register custom enum types and map them to entity fields for safer, consistent values across databases. Works with modern Symfony/Doctrine versions and common platforms like PostgreSQL, MySQL, SQLite, and MSSQL. | 460 | 472 | 74 | 73K | 11 | 21.2 | 34.7 | MIT | 9 months ago | |
| elao/enum | 0.85 | Opinionated extensions for PHP 8.1+ native enums with readable labels, flag/bitmask enums, and extra values. Includes integrations for Symfony (Forms, HTTP Kernel arg resolver, Translation, VarDumper), Doctrine ORM/ODM, and Faker. | 327 | 327 | 29 | 46K | 15 | 25.0 | 37.3 | MIT | 6 months ago | |
| greg0ire/enum | 0.85 | 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 | |
| art-fatal/doctrine-enum-bundle | 0.85 | — | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| tourze/easy-admin-enum-field-bundle | 0.85 | 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 | |
| acelaya/doctrine-enum-type | 0.84 | Doctrine DBAL type for mapping MyCLabs\Enum\Enum values to entity columns. Provides a reusable PhpEnumType to register enums as custom Doctrine types. Note: largely obsolete now that PHP has native enums and Doctrine supports them. | 131 | 136 | 14 | 14K | 1 | 2.1 | 19.5 | MIT | 5 years ago | |
| myclabs/php-enum | 0.84 | 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 |
How can I help you explore Laravel packages today?