Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-17 22:53 UTC

captainhook-git / captainhook

CaptainHook is a very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze.

PHPMIT★ 1,129 stars⑂ 89 forkssince Aug 2016View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

captainhook-git/captainhook holds a health index of 77 out of 100, placing it in the Good band. It scores highest on Vitality (82/100) and lowest on AI Readiness (34/100). It was last updated 5 days ago. A single contributor accounts for most of its recent work.

77
overall / 100
Good

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

77
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 66 is calibrated to 77 on the published index scale (record calibration 2026-08-02).

Ownership

CaptainHookOrganization
13 followers15 public repossince Nov 2018

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistcaptainhook/captainhook5.29.3566,3201785 days agogithookspre-commitpre-pushcommit-msgprepare-commit-msgpost-merge

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

82Excellent · 21% of overall
How it's scored
36/36Push recency — last push 5 days ago
9/36Commit cadence — 13/52 weeks with commits
18/18Commit volume — 116 commits in the last year
9/10OpenSSF Scorecard: Maintained — 11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9
Inputs used
Commits in the last year116
Share of human-authored commits1
Days since last push5
Weeks with commits in the last year13

Release discipline

98Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 5 days ago
27/27Release cadence — a release every ~30.8 days
8/10OpenSSF Scorecard: Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
Number of releases100
Latest release tag5.29.3
Releases derived from version tagsno
Days since latest release5
Mean days between releases30.8

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

77Good · 17% of overall
How it's scored
49.5/60Stars — 1,129 stars
16.2/25Forks — 89 forks
6.4/15Watchers — 15 watchers
Inputs used
Forks89
Stars1,129
Watchers15
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README9
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEgithub.com, poser.pugx.org, shields.io
Pull request template presentno
How it's scored
76.7/80Monthly downloads — 566,320 downloads/month across packagist
17.4/20Registry dependents — 411 packages depend on it
Inputs used
Packagescaptainhook/captainhook
Registry dependents411
Package ecosystemspackagist
Total downloads9,618,313
Monthly downloads566,320
Packages excluded as unverified—

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

65Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
1.5/22.5Commit distribution — top contributor authored 93% of commits
13.5/13.5Contributor breadth — 29 contributors
10/10OpenSSF Scorecard: Contributors — project has 13 contributing companies or organizations
Inputs used
Bus factor1
Contributors sampled29
Share of commits by the top contributor0.933
How it's scored
39.4/42Issue resolution — 94% of issues closed
27/30PR acceptance — 107/119 decided PRs merged
13/13Newcomer PR acceptance — 1/1 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Review — Found 1/29 approved changesets -- score normalized to 0
Inputs used
Merged pull requests107
Open issues11
Closed issues168
Pull requests merged in the last 7 days1
Pull requests decided in the last 7 days1
Pull requests merged in the last 30 days1
Pull requests decided in the last 30 days1
Share of issues closed0.939
Pull requests closed without merging12
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days1
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
8.2/25Owner reach — 13 followers of captainhook-git
20.8/25Track record — 15 public repos, account ~7 yr old
Inputs used
Followers13
Owner account typeOrganization
Verified domainno
Owner accountcaptainhook-git
Public repositories15
Owner account age in days2,916

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 5 days ago
20/20Version history — 178 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagescaptainhook/captainhook
Package ecosystemspackagist
Any package deprecated or yankedno
Days since latest package publish5

Engineering Quality

Are baseline engineering and documentation practices in place?

64Moderate · 19% of overall
How it's scored
24/24CI workflows — 2 workflow(s)
24/24Tests present
16/16Linter config — phpcs.xml, phpstan.neon
0/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — 0 out of 1 merged PRs checked by a CI test -- score normalized to 0
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — http://captainhook.info
10/10Repository description
10/10Topics — 6 topics
0/10Wiki
Inputs used
Repository topicsphp, git, git-hooks, hacktoberfest, automation, code-quality
Wiki enabledno
Repository homepagehttp://captainhook.info
Documentation sitehttp://captainhook.info
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

42Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0/2.5CI-Tests — 0 out of 1 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 1/29 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 13 contributing companies or organizations
0/10Dangerous-Workflow — no data
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
6.8/7.5Maintained — 11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9
0/5Packaging — no data
0/5Pinned-Dependencies — no data
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
6/7.5Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
0/7.5Token-Permissions — no data
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated14
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive4
OpenSSF Scorecard aggregate score4.2
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Pinned-Dependencies, Token-Permissions. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

34At Risk · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
6.4/40Legible commit history — 12 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.12
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — phpcs.xml, phpstan.neon
0/11Static type checking
10/10Reproducible environment — Dockerfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentyes
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable code — PHP without a type-check config
55/55Manageable file sizes — 0/405 source files over 60KB
Inputs used
Primary languagePHP
Size of the largest source file (bytes)13,894
Source files sampled405
Oversized source files0

Key facts

1,129GitHub stars
29contributors
116commits, last 12 months
5days since last push
100releases
1bus factor
11open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 89 ⇿
0Stars
89Forks
99Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

0204060801008832016-102021-102026-11
Major 0Minor 21Patch 75

Each point covers 10 days.

OpenSSF Scorecard 4.2 / 10
4.2aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-17 22:53 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests0 out of 1 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 1/29 approved changesets -- score normalized to 0
10Contributorsproject has 13 contributing companies or organizations
n/aDangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
9Maintained11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
8Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 7
RegistryPackageVersion constraintManifest
Packagistcaptainhook/secrets^0.9.4composer.json
Packagistsebastianfeldmann/camino^0.9.2composer.json
Packagistsebastianfeldmann/cli^3.3composer.json
Packagistsebastianfeldmann/git^3.16.0composer.json
Packagistsymfony/console^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0composer.json
Packagistsymfony/filesystem^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0composer.json
Packagistsymfony/process^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0composer.json
All dependencies 14

Full resolved dependency set from the GitHub dependency graph: 7 direct and 7 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Packagistcaptainhook/secrets—direct
Packagistsebastianfeldmann/camino—direct
Packagistsebastianfeldmann/cli—direct
Packagistsebastianfeldmann/git—direct
Packagistsymfony/console—direct
Packagistsymfony/filesystem—direct
Packagistsymfony/process—direct
Packagistcaptainhook/captainhook—indirect
Packagistcomposer/composer—indirect
Packagistext-json—indirect
Packagistext-spl—indirect
Packagistext-xml—indirect
Packagistmikey179/vfsstream—indirect
Packagistphp—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Packagist.