wcm / git-php-hooks-library
A collection of Git PHP Hooks
Installs: 9 628
Dependents: 3
Suggesters: 1
Security: 0
Stars: 12
Watchers: 5
Forks: 4
Open Issues: 0
pkg:composer/wcm/git-php-hooks-library
Requires
- php: >=5.3
- phpmd/phpmd: ^2.1
This package is not auto-updated.
Last update: 2025-10-21 07:30:27 UTC
README
This is a set of Git PHP Hooks tasks, ready to use in conjunction with GitPHPHooks.
The Hooks are available in the src directory
of this repo. You can read more about the naming convention here.
Install
This repo is registered to Packagist. You can include it by adding
"wcm/git-php-hooks-library": "dev-master"
to your projects composer.json file.
Tasks included
- PHP Lint as
pre-committask, priority: 10 - PHP Mess Detector as
pre-pushtask, priority: 10
Pull Requests
I am happy to accept pull requests. As it really doesn't matter (to me) what coding style you use, there's no convention forced. Just add your file, test it and send the PR. :)