Wallogit.com
2017 © Pedro Peláez
CaptainHook is a package which adds git hooks to your project., (*1)
To add this package to your project, run composer require
mc388/captainhook. In your composer.json you need to add the setup
script:, (*2)
"scripts": {
"post-install-cmd": [
"MarvinCaspar\\CaptainHook\\Hooks::install"
],
"post-update-cmd": [
"MarvinCaspar\\CaptainHook\\Hooks::install"
]
},
This hooks validates the commit message by following [ http://chris.beams.io/posts/git-commit/](these rules)., (*3)
This script requires different php tools to check your code., (*4)