How-To Guides¶
Practical recipes for common scenarios.
| Guide | Use case |
|---|---|
| Parallel Execution & Thread Budget | Speed up QA runs with multiple processes. |
| Conditional Hooks | Run different tools on different branches or file types. |
| CI/CD Integration | Use GitHooks in GitHub Actions, GitLab CI, etc. |
| Frontend Tools | Run ESLint, Prettier, or other non-PHP tools. |
| Job Inheritance | Share configuration between similar jobs. |
| Output Formats | Use JSON and JUnit output for CI and automation. |
| Docker & Local Override | Run GitHooks with Docker, Sail, or remote environments. |
| Automating Hook Installation | Ensure hooks are installed for every team member. |