Generator Prefixes should use different string helpers
billysmithers opened this issue · 1 comments
billysmithers commented
The GeneratorPrefixes
class for merging namespace prefix is using Str::title
it should be Str::studly
.
The route prefix for merging is using Str::camel
, IMHO it should be Str::kebab
- I would expect semantic URLs to be in kebab case not in camel case.
The view prefix for merging is using Str::snake
it should be Str::kebab
in line with Laravel convention I would expect these to be in kebab case also.
I'm happy to submit a PR as I have written a proof of concept to verify the changes do as would be expected.
billysmithers commented
PR here - #1070