php-pre-commit
Git pre-commit file for PHP projects
How to Use?
git clonethis repository.- Copy the
pre-commitfile to your project's Git hooks folder. Make sure that thepre-commitfile is executable. - Now copy the
config.distfile to your Git hooks folder, and rename it toconfig. - Edit the
configfile with your preferences.
Kudos for Johnathan Pulos for his amazing Gist