dobron/laravel-db-enum-generator
Laravel package that generates PHP enum classes from database column values, keeping enum cases in sync with stored data. Useful for replacing magic strings with type-safe enums in models, validation rules, and forms.
dobron/laravel-db-enum-generator creates native PHP enums from your database enum columns, keeping application code in sync with the schema. Instead of duplicating option lists by hand, run an Artisan command and get typed, autocompleted enums ready for models, validation, and forms.
How can I help you explore Laravel packages today?