Skip to content

Convert entity and relation names to PascalCase #216

@DenTray

Description

@DenTray

Description


What needs to be done?


Implement functionality that modifies the names of entities and their passed relations to PascalCase during the call of the command php artisan make:entity . If any name is converted, display a message in the console notifying the user about the conversion.

Expected Outcome


What is the expected result?


When the php artisan make:entity command is run, all entity names and relation names are converted to PascalCase if they are not already. If any conversion occurs, a clear message appears in the console indicating that the conversion happened.

Verification Scenarios


How can this be tested?


1. Run php artisan make:entity with entity and relation names in lowercase or other cases.
2. Verify the entity and relation names are converted to PascalCase .
3. Check the console output for a message confirming the conversion.
4. Run the command again with names already in PascalCase and confirm no conversion message appears.
5. Ensure no debug information or errors are shown in the console.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions