captainhook/plugin-composer
Deprecated Composer plugin for CaptainHook that auto-installs Git hooks for your team. Configure hook file name, PHAR path, or disable via composer.json “extra”. Use captainhook/hook-installer instead for flexible PHAR/source installs.
Allow to disable the plugin by setting the environment variable CAPTAINHOOK_DISABLE to true
Prevent the Cap'n from installing hooks on a secondary worktree
Use the same php binary that was used to execute composer
Allow force installation of hooks
You can now force the installation of all hooks by setting a flag in the composer.json configuration.
"extra": {
"captainhook": {
"force-install": true
}
}
Fix issue #13
.git directory - thanks to @torhoehncaptainhook install execution fails - fixes #4Escape spaces in binary path
Fix spaces in command arguments
-g issue while configuring CaptainHook for the first timecaptainhook base package to the dependency listThis makes sure that if you install the plugin the Cap'n get installed as well.
This will no longer run CaptainHook in the same PHP process.
Instead it will execute captainhook in a sub process.
CaptainHook version 4How can I help you explore Laravel packages today?