palabs/enum-bundle
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fervo/enum-bundle | 0.88 | 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 | |
| fresh/doctrine-enum-bundle | 0.88 | 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 | |
| lamoda/enum-bundle | 0.88 | 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. | 10 | 10 | 3 | 1 | 0 | 0.1 | 0.5 | MIT | 2 years 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 | — | |
| phil/base-bundle | 0.87 | phil/base-bundle is a Laravel/PHP package that provides a reusable base bundle for shared application foundations. It helps consolidate common setup, base classes, and boilerplate into a single installable dependency, reducing duplication across projects. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| mrgoodbytes8667/enum-serializer-bundle | 0.87 | 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 | |
| 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 | — | |
| ex3v/myclabs-enum-param-converter | 0.86 | A Symfony bundle that adds seamless MyCLabs\Enum parameter conversion in controllers. Install via Composer, register the bundle, typehint enum arguments in actions, and conversion happens automatically. | 8 | 8 | 1 | 0 | 0 | 0.2 | — | — | — | |
| bensampo/laravel-enum | 0.86 | 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 | — | |
| art-fatal/doctrine-enum-bundle | 0.86 | — | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| 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 | — | — | — | |
| enabel/coding-standard-bundle | 0.86 | A Symfony bundle providing ready-made coding standards and tooling: PHP-CS-Fixer, PHPStan, Rector, linters for Twig, YAML, Doctrine and Composer, plus a Makefile and Docker setup for MySQL, Redis and Mailcatcher. | 0 | 2 | — | 12 | — | 9.0 | 15.4 | — | — | |
| acelaya/doctrine-enum-type | 0.85 | 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 | |
| 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 | |
| azimkordpour/power-enum | 0.84 | 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 | |
| laudis/typed-enum | 0.84 | — | 4 | 4 | 0 | 43K | 0 | 0.0 | 54.4 | MIT | — | |
| daverandom/enum | 0.84 | 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 | |
| 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 | |
| cerbero/laravel-enum | 0.83 | 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?