yethee/enum-bundle
Symfony bundle that integrates PHP 8.1 enums into your app: autowire enum instances, use enum-aware form types and validator constraints, map enums with Doctrine types, and simplify enum choices in configuration and templates.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yeugone/enum-bundle | 0.89 | 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 | |
| elao/enum | 0.89 | 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 | |
| palabs/enum-bundle | 0.89 | 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 | — | |
| 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 | |
| frostiede/enum-bundle | 0.88 | 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 | — | — | — | |
| chadsikorra/php-simple-enum | 0.88 | A lightweight, dependency-free enum implementation for PHP. Define constant sets with helper methods for validation, value lookup, and comparison, useful where native enums aren't available. Simple API that's easy to drop into existing projects. | 11 | — | 0 | — | 0 | 0.1 | — | MIT | — |
|
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| cerbero/laravel-enum | 0.88 | 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 | — | |
| bensampo/laravel-enum | 0.88 | 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 | — | |
| mrgoodbytes8667/response-bundle | 0.87 | A PHP package for building consistent HTTP responses. It offers reusable helpers for JSON payloads, error responses, and status codes, helping standardize controller output and keep APIs predictable across your application. Simple to configure and integrate into existing projects. | 0 | 0 | 0 | 65 | 0 | 0.0 | 25.1 | NOASSERTION | 1 year ago | |
| jdecool/twig-constant-accessor-bundle | 0.87 | Symfony bundle that integrates a Twig extension for reading PHP class constants and enum cases directly in templates. It exposes a dedicated accessor function so shared values can stay in PHP while remaining easy to use in Twig, without writing custom extensions. | 9 | 9 | 4 | 119 | 0 | 0.1 | 10.8 | MIT | 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 | — | |
| adrenalinkin/enum-property-bundle | 0.87 | 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 | — | |
| cerbero/enum | 0.87 | 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 | — | |
| php-arsenal/doctrine-odm-enum-type-bundle | 0.87 | A Symfony bundle that integrates PHP enums with Doctrine MongoDB ODM. It registers an enum type so you can map enum properties directly and persist their backed values in MongoDB without custom converters or manual hydration logic. | 1 | 1 | 0 | 0 | 0 | 0.2 | — | MIT | 5 years ago | |
| ns/util-bundle | 0.87 | ns/util-bundle is a lightweight Laravel utility bundle that gathers practical helpers for strings, arrays, and common app tasks. It offers simple, framework-friendly functions to reduce boilerplate, speed up development, and keep your PHP code clean and readable. | 0 | 1 | 0 | 14 | 0 | 0.0 | 16.2 | — | — | |
| fresh/doctrine-enum-bundle | 0.87 | 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 |
How can I help you explore Laravel packages today?