vierwd/composer-githooks

Set the githooks directory after composer installation

Maintainers

Package info

github.com/4wdmedia/composer-githooks

Type:composer-plugin

pkg:composer/vierwd/composer-githooks

Statistics

Installs: 9 612

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.3.0 2022-04-12 13:28 UTC

This package is auto-updated.

Last update: 2026-03-12 22:04:18 UTC


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.