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.
|
Package
|
Constraint
|
|---|---|
| illuminate/console | ^5.6|^5.7|^5.8|^6.0|^7.0|^8.0|^9.0|^10.0 |
| illuminate/support | ^5.6|^5.7|^5.8|^6.0|^7.0|^8.0|^9.0|^10.0 |
|
Package
|
Constraint
|
|---|---|
| doctrine/inflector | ^2.0 |
| orchestra/testbench | ^3.6|^4.0|^5.0|^6.0 |
| phpunit/phpunit | >=7.0 |
| spatie/phpunit-snapshot-assertions | ^4.2 |
| squizlabs/php_codesniffer | ^3.0 |
How can I help you explore Laravel packages today?