vierwd / composer-githooks
Set the githooks directory after composer installation
Installs: 4 356
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: ^7.1 || ^8.0
- composer-plugin-api: ^1.1 || ^2.0
README
By default, git hooks are located in .git/hooks
and are not checked in. Since git v2.9 it is possible to set a configuration variable core.hooksPath
with a custom path. This composer plugin takes care to set the configuration variable to githooks
of the current repository when composer install
is run.
It is based on CaptainHook.