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.
yethee/enum-bundle brings first-class support for PHP 8.1 enums to Symfony applications, letting backed enums flow directly through forms, Doctrine mappings, and validation instead of hand-written transformers and string constants.
How can I help you explore Laravel packages today?