art-fatal/doctrine-enum-bundle
make:enum command, accelerating feature development for statuses, states, or categorization logic.ADMIN, EDITOR).PENDING, SHIPPED, CANCELLED).DayOfWeek for scheduling).Spatie/Enum.const classes) over compile-time safety.text type for enums).Spatie/Enum or Webmozart/Assert).For Executives:
"This bundle lets us use PHP’s native enums (introduced in PHP 8.1) to enforce data consistency—both in code and the database. For example, a UserStatus enum ensures only ACTIVE, INACTIVE, or BANNED values exist in our system, reducing bugs and improving performance. It’s zero-configuration, auto-generates database columns, and speeds up development with a make:enum command. Think of it as ‘enums on steroids’ for Symfony projects—cleaner code, fewer errors, and happier developers."
For Engineers: *"This solves the pain of manually mapping PHP enums to Doctrine types. Key benefits:
EnumType and go.DayOfWeek with methods like isWeekend().make:enum creates enum + type files in seconds.How can I help you explore Laravel packages today?