Public record
Software health reportschema 0.31.0 · metrics 2.10.0 · 2026-08-05 04:37 UTC

sebastianbergmann / phpunit

The PHP Unit Testing framework.

PHPBSD-3-Clause★ 20,043 stars⑂ 2,226 forkssince Dec 2009View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

sebastianbergmann/phpunit holds a health index of 93 out of 100, placing it in the Exceptional band. It scores highest on Vitality (100/100) and lowest on AI Readiness (56/100). It was last updated today. A single contributor accounts for most of its recent work.

93
overall / 100
Exceptional

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.

93
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 79 is calibrated to 93 on the published index scale (record calibration 2026-08-02).

Ownership

Sebastian BergmannPersonal account
7,640 followers74 public repossince Sep 2008@thePHPcc

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistphpunit/phpunit13.2.616,216,9338277 days agotestingphpunitxunit

Metrics by category

Vitality

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

100Exceptional · 21% of overall

Development activity

100Exceptional
How it's scored
36/36Push recencylast push 0 days ago
36/36Commit cadence52/52 weeks with commits
18/18Commit volume2,777 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year2,777
human_commit_share0.88
days_since_last_push0
active_weeks_last_year52

Release discipline

100Exceptional
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 7 days ago
27/27Release cadencea release every ~2.4 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tag13.2.6
releases_from_tagsno
days_since_latest_release7
mean_days_between_releases2.4
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

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

94Exceptional · 17% of overall
How it's scored
60/60Stars20,043 stars
25/25Forks2,226 forks
13.8/15Watchers304 watchers
Inputs used
forks2,226
stars20,043
watchers304
growth_stateorganic
growth_factor_pct100

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (BSD-3-Clause)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicescodecov.io, github.com, poser.pugx.org
has_pull_request_templateno
How it's scored
80/80Monthly downloads16,216,933 downloads/month across packagist
20/20Registry dependents160,424 packages depend on it
Inputs used
packagesphpunit/phpunit
dependents160,424
ecosystemspackagist
total_downloads973,255,489
monthly_downloads16,216,933
unverified_packages_excluded

Sustainability & Governance

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

66Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
2.8/22.5Commit distributiontop contributor authored 88% of commits
13.5/13.5Contributor breadth99 contributors
10/10OpenSSF Scorecard: Contributorsproject has 88 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled99
top_contributor_share0.876
How it's scored
41.8/42Issue resolution100% of issues closed
14.8/30PR acceptance1,263/2,563 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-ReviewFound 0/30 approved changesets -- score normalized to 0
Inputs used
merged_prs1,263
open_issues15
closed_issues4,124
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.996
closed_unmerged_prs1,300
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
25/25Owner reach7,640 followers of sebastianbergmann
25/25Track record74 public repos, account ~17 yr old
Inputs used
followers7,640
owner_typeUser
is_verified
owner_loginsebastianbergmann
public_repos74
account_age_days6,529
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on packagist
35/35Publish recencylatest publish 7 days ago
20/20Version history827 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesphpunit/phpunit
ecosystemspackagist
any_deprecatedno
min_days_since_publish7

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 19% of overall
How it's scored
24/24CI workflows6 workflow(s)
24/24Tests present
16/16Linter config.php-cs-fixer.dist.php, phpstan.neon
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests6 out of 6 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://phpunit.de/
10/10Repository description
10/10Topics3 topics
0/10Wiki
Inputs used
topicsphp, phpunit, testing-tools
has_wikino
homepagehttps://phpunit.de/
docs_sitehttps://phpunit.de/
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

60Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests6 out of 6 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 88 contributing companies or organizations
0/10Dangerous-Workflowno data
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesno data
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate5
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages33
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 33 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

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.

56Moderate · 4% of overall
How it's scored
45/45Agent instructionstools/.phpstan/vendor/phpstan/phpstan/CLAUDE.md
0/15Machine-readable docs (llms.txt)
9.1/40Legible commit history15 of 88 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.17
agent_instruction_filestools/.phpstan/vendor/phpstan/phpstan/CLAUDE.md
agent_instruction_max_bytes6,369
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config.php-cs-fixer.dist.php, phpstan.neon
0/11Static type checking
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance12 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesno data
Inputs used
has_nixno
has_testsyes
lockfilescomposer.lock
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.12
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable codePHP without a type-check config
54.8/55Manageable file sizes9/2,798 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes383,574
source_files_sampled2,798
oversized_source_files9

Key facts

20,043GitHub stars
99contributors
2,777commits, last 12 months
0days since last push
100releases
1bus factor
15open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Star history carried forward from 2026-07-22: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 20043 stars today.

More detail

Star and fork history 20,041 ★ / 2,226 ⇿
20,041Stars
2,226Forks
100Releases

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.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

Star history is shown as collected on 2026-07-22. GitHub restricted the stargazers API to repository administrators in July 2026, so this series can no longer be extended; the current star total above remains live.

04,0008,00012,00016,00020,00024,00020,0412,226252017-122022-042026-08
Major 1Minor 4Patch 95

Each point covers 8 days.

OpenSSF Scorecard 5.0 / 10
5.0aggregate

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-08-05 04:37 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests6 out of 6 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 88 contributing companies or organizations
n/aDangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 16
RegistryPackageVersion constraintManifest
Packagistmyclabs/deep-copy^1.13.4composer.json
Packagistphar-io/manifest^2.0.4composer.json
Packagistphar-io/version^3.2.1composer.json
Packagistsebastian/cli-parser^5.0.1composer.json
Packagistsebastian/comparator^8.4composer.json
Packagistsebastian/diff^9.0composer.json
Packagistsebastian/environment^9.3.2composer.json
Packagistsebastian/exporter^8.2composer.json
Packagistsebastian/file-filter^1.0composer.json
Packagistsebastian/git-state^1.0composer.json
Packagistsebastian/global-state^9.0.1composer.json
Packagistsebastian/object-enumerator^8.0.0composer.json
Packagistsebastian/recursion-context^8.0.1composer.json
Packagistsebastian/type^7.0.1composer.json
Packagistsebastian/version^7.0.0composer.json
Packagiststaabm/side-effects-detector^1.0.5composer.json
All dependencies 33

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

RegistryPackageVersionRelation
Packagistmyclabs/deep-copy1.13.4direct
Packagistphar-io/manifest2.0.4direct
Packagistphar-io/version3.2.1direct
Packagistsebastian/cli-parser5.0.1direct
Packagistsebastian/comparator8.4-devdirect
Packagistsebastian/diff9.0.0direct
Packagistsebastian/environment9.3.2direct
Packagistsebastian/exporter8.2-devdirect
Packagistsebastian/file-filter1.0.0direct
Packagistsebastian/git-state1.0.0direct
Packagistsebastian/global-state9.0.1direct
Packagistsebastian/object-enumerator8.0.0direct
Packagistsebastian/recursion-context8.0.1direct
Packagistsebastian/type7.0.1direct
Packagistsebastian/version7.0.0direct
Packagiststaabm/side-effects-detector1.0.5direct
Packagistergebnis/phpstan-rules2.13.1indirect
Packagistnikic/php-parser5.8.0indirect
Packagistphpstan/extension-installer1.4.3indirect
Packagistphpstan/phpstan2.2.7indirect
Packagistphpstan/phpstan-strict-rules2.0.12indirect
Packagistphpunit/php-code-coverage 14.3-dev.0indirect
Packagistphpunit/php-file-iterator7.0.0indirect
Packagistphpunit/php-invoker7.0.0indirect
Packagistphpunit/php-text-template6.0.0indirect
Packagistphpunit/php-timer9.0.0indirect
Packagistsebastian/complexity6.0.0indirect
Packagistsebastian/lines-of-code5.0.2indirect
Packagistsebastian/object-reflector6.0.0indirect
Packagistseld/phar-utils1.2.2indirect
Packagisttheseer/tokenizer2.0.1indirect
Packagisttomasvotruba/type-coverage2.3.0indirect
Packagistwebmozart/assert2.4.1indirect
Dependency advisories 0

This repository publishes no package the index resolves, so its own dependency graph was assessed — 33 packages, which also include development and test pins that never ship: 0 carry known advisories, of which 0 are direct.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

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.31.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPackagist.