generate_enum
Create a Laravel 13 enum with string or integer values, labels, colors, and helper methods for consistent data handling.
Instructions
Generate a Laravel 13 backed enum with string/int values, labels, colors, and helper methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | string | |
| values | No | ||
| enumName | Yes | Enum name e.g. 'PostStatus' |