Install command not showing on artisan list #102
-
Does anyone else have the issue when using $package->hasInstallCommand, where the package-name:install command doesn't appear on the list of commands when you type php artisan? |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Jul 31, 2023
Replies: 1 comment 1 reply
-
This is by design: I wanted to avoid that when you have 10 packages installed with an install command that the artisan command list would be flooded with install commands. Usually you only want to run the command once, when installing the package, so I thought it isn't really worthwhile to display it in the full list. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jesperbjoernandersen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is by design: I wanted to avoid that when you have 10 packages installed with an install command that the artisan command list would be flooded with install commands.
Usually you only want to run the command once, when installing the package, so I thought it isn't really worthwhile to display it in the full list.