Skip to content

Conversation

@ericmp33
Copy link

This pull request introduces the make:enum Artisan command as its initial version, incorporating the essential code for basic functionality.

It draws inspiration from nunomaduro's pull request, where the make:view Artisan command was introduced, but this time focusing on enums.

Looking ahead:
To enrich the user experience with this command, future updates could allow users to specify the enum type, its cases, and even include general methods typically associated with enums, such as static translatedCases() ... and color(), to name a few.

@ericmp33 ericmp33 changed the title Adds make:enum Artisan command [10.x] Adds make:enum Artisan command Jan 19, 2024
@taylorotwell
Copy link
Member

Thanks for your pull request to Laravel!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.

If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!

If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants