Create make enum command #50002
-
Within the commands defined in the structure there is currently no option to create enums, whenever I create a new project I need to create a custom command to create enums, the same applies to external actions and services. For example: when I need to create an action, I created a make:action command. In this case, I always need to create a new command to create enums, I believe that make:enum would be very useful for Laravel developers' daily lives. Att. Felipe Arnold. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
As many don't use enums in their code bases, I think Laravel may not add tons of commands. Instead you could create a new console command NB: Laravel introduced create class command, you may extend that Regards, |
Beta Was this translation helpful? Give feedback.
-
I don't. I use IDE for that. And even if I need Laravel specific classes, I have IDE for that with Laravel IDEA... |
Beta Was this translation helpful? Give feedback.
-
This will be available in Laravel 11. |
Beta Was this translation helpful? Give feedback.
This will be available in Laravel 11.