Replies: 2 comments
-
Popular Laravel packages (like Filament) use the dash. I'm not aware of many that use the colon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The colon has semantic meaning in the Symfony console (which Laravel builds upon) and is used to create namespaces for command names. So arbitrarily changing hyphens with colons implies a bit more of a change in the console application than just what character you type in. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it is a good idea to change the pattern of new commands.
For example, currently if you want to create a new command with
DoFoo
name, you would have something likeapp:do-foo
.I suggest replacing
-
with:
Final results is :
app:do:foo
Beta Was this translation helpful? Give feedback.
All reactions