partnermarketing / pm-git-hooks-php
Partnermarketing Composer git-hook package with hooks for your php projects.
Package info
github.com/partnermarketing/pm-git-hooks-php
Language:Shell
Type:git-hook
pkg:composer/partnermarketing/pm-git-hooks-php
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-08-30 04:06:28 UTC
README
This is a git-hook package that contains some standards I want to use on all my PHP projects.
I use the git pre-commit hook to validate all my code before every commit to ensure
that my code is always valid.
View how to create your own git-hook package
How to install
Just add this package as a dependency on your project.
php composer.phar require bernardosilva/git-hooks-php
pre-commit
Currently my pre-commit hook is checking for PSR2 coding standards
that are not met using php_codesniffer tool.
How to contribute
- Create a Pull Request
- Suggest new ideas or open new detected issues