CaptainHook
Very flexible git hook manager for php developers
...You can use CaptainHook to validate or prepare your commit messages, ensure code quality or run unit tests before you commit or push changes to git. You can automatically clear local caches or install the latest composer dependencies after pulling the latest changes. CaptainHook makes it easy to share hooks within your team and even can make sure that everybody in your team activates the hooks locally. You can run cli commands, use some built in validators, or write your own PHP classes that get executed by CaptainHook. For more information have a look at the documentation. Install the CaptainHook PHAR using Phive or download the PHAR from the github release page.