BrainMaestro/composer-git-hooks
Easily manage git hooks in your composer config observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3467
- days_rel: n/a
- days_push: 802
- n_releases_24m: 0
Adoption not part of the score
1085 stars · 89 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Composer package that lets PHP projects define and manage git hooks directly in composer.. It installs a `cghooks` binary that adds, updates, removes, and tests hooks so the whole team shares a consistent hook setup.
Use cases
- manage git hooks in composer.
- share pre-commit hooks across a PHP team
- run php-cs-fixer and phpunit on pre-push
- enforce commit message format with commit-msg hook
- install git hooks globally for all repositories
- add custom git hooks like git-flow hooks
When to choose
- your project already uses Composer and you want hooks versioned in composer.
- you want consistent git hooks for every team member with minimal setup
- you want one global set of hooks across all local repositories
When to avoid
- you use a non-PHP project without Composer
- you need advanced hook management like per-branch or dynamic hooks
- you prefer modern alternatives like Husky-style tools or lefthook
Facets
cli-tool · maturity maintenance
cli developer-tools configuration-management ci-cd developer-tools version-control cli php cross-platform git-hooks composer composer-plugin php pre-commit workflow-automation command-line automation
1 source
- readme: https://github.com/BrainMaestro/composer-git-hooks · fetched 2026-08-28 · 0e68b8dff4da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| BrainMaestro/composer-git-hooks | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="BrainMaestro/composer-git-hooks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem