-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global grumphp or grumphp.phar (like phpunit) #42
Comments
https://github.com/box-project/box2 - create .phar |
That would indeed be a nice feature. Now it is possible to use |
I can help with this. Have some experience with tasks like that :) |
Maybe it's a better idea to use composer for this? composer global require phpro/grumphp This way, GrumPHP will be installed globally in the ~/.composer/vendor/bin. composer global update phpro/grmphp Looks easier then creating phar + self-update stuff, since everybody is using composer these days. PATH=$PATH:/full/path/to/project/vendor/bin
# Note: I need to check if this works on windows ... This way we can change the command to just What are your thoughts on this solution? A phar looks one step too far for me, since it can easliy be done with composer. |
This one is implemented as mentioned above. |
I think is better use phar as optional. Like others php tool (php-cs-fixer, deployer, and many more) has own phar file for simplifying the task. I think many people more familiar with phar instead of global package in composer. |
The reason why you need phar file instead of global composer |
Hello, thanks for your library.
I suggest add new feature - run hook by grumphp.phar
Advantages:
The text was updated successfully, but these errors were encountered: