Skip to content

BernardoSilva/git-hooks-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-hooks-php

Latest Stable Version Monthly Downloads Total Downloads License

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 --dev 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

Created by

License

MIT © Bernardo Silva

About

git-hook package that uses pre-commit for PHP projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages