bruli/php-git-hooks
bruli/php-git-hooks lets PHP projects configure and manage Git hooks in PHP. Define pre-commit, pre-push, and other hooks to automatically run linters, tests, and custom checks before commits or pushes, helping catch issues early.
Consider it when:
Look elsewhere when:
For executives: This is a small, permissive-license developer-productivity package that can catch code-quality issues before they reach CI or code review. It is not a strategic platform dependency and should be adopted only as a time-boxed, dev-only improvement. The main risk is that the package has not been released since 2018, so we should pin it, validate compatibility, and avoid relying on it for critical controls.
For engineering: The package provides Git hooks for PHP projects and can standardize local checks with low setup effort. Pilot it in one repository, pin the version, measure hook speed and developer friction, and confirm PHP/Git compatibility. If maintenance or compatibility becomes a concern, replace it with a maintained hook runner rather than forking unless the workflow is simple and stable.
How can I help you explore Laravel packages today?