tNaming Conventions

YAML Files

  • Use Singular Form

  • Use Lowercase

  • Use Descriptive Names

# Good
post.yaml
user_profile.yaml
blog_category.yaml

# Avoid
posts.yaml
Profile.yaml
CATEGORY.yaml

Model Names

  • Use PascalCase

  • Use Singular Form

  • Be Descriptive

Field Names

  • Use snake_case

  • Be Descriptive

  • Be Consistent

Last updated