Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-13 11:30 UTC

onfido / onfido-php

PHP library for the Onfido API

PHPMIT★ 20 stars⑂ 30 forkssince Jan 2017View on GitHub ↗

onfido/onfido-php holds a health index of 77 out of 100, placing it in the Good band. It scores highest on Engineering Quality (78/100) and lowest on AI Readiness (45/100). It was last updated 12 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

OnfidoOrganization
51 followers85 public repossince Feb 2014

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistonfido/onfido-php10.2.013,98361114 days agophprestapisdkopenapiopenapitoolsopenapi-generator

Metrics by category

Vitality

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

73Good · 21% of overall
How it's scored
28.8/36Push recency — last push 12 days ago
11.8/36Commit cadence — 17/52 weeks with commits
13.5/18Commit volume — 31 commits in the last year
7/10OpenSSF Scorecard: Maintained — 9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7
Inputs used
commits_last_year31
human_commit_share0.99
days_since_last_push12
active_weeks_last_year17
How it's scored
27/27Ships releases — 60 releases published
27/36Release recency — latest release 114 days ago
27/27Release cadence — a release every ~39.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count60
latest_release_tagv10.2.0
releases_from_tagsno
days_since_latest_release114
mean_days_between_releases39.9
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?

48Weak · 17% of overall
How it's scored
20.7/60Stars — 20 stars
12.2/25Forks — 30 forks
7.4/15Watchers — 22 watchers
Inputs used
forks30
stars20
watchers22
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges2
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_servicesbadge.fury.io, github.com
has_pull_request_templateno
How it's scored
55.3/80Monthly downloads — 13,983 downloads/month across packagist
2/20Registry dependents — 1 packages depend on it
Inputs used
packagesonfido/onfido-php
dependents1
ecosystemspackagist
total_downloads233,736
monthly_downloads13,983
unverified_packages_excluded—

Sustainability & Governance

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

70Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
9.7/22.5Commit distribution — top contributor authored 57% of commits
13.5/13.5Contributor breadth — 29 contributors
3/10OpenSSF Scorecard: Contributors — project has 1 contributing companies or organizations -- score normalized to 3
Inputs used
bus_factor1
contributors_sampled29
top_contributor_share0.568
How it's scored
0/42Issue resolution — no issues or no data
26.9/30PR acceptance — 78/87 decided PRs merged
13/13Newcomer PR acceptance — 3/3 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 16/20 approved changesets -- score normalized to 8
Inputs used
merged_prs78
open_issues0
closed_issues0
prs_merged_7d0
prs_decided_7d0
prs_merged_30d4
prs_decided_30d4
issue_closed_ratio—
closed_unmerged_prs9
first_time_authors_30d2
first_time_prs_merged_30d3
first_time_prs_decided_30d3
Excluded from scoring (no data or not applicable): Issue resolution. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
12.3/25Owner reach — 51 followers of onfido
25/25Track record — 85 public repos, account ~12 yr old
Inputs used
followers51
owner_typeOrganization
is_verifiedno
owner_loginonfido
public_repos85
account_age_days4,586

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 114 days ago
20/20Version history — 61 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesonfido/onfido-php
ecosystemspackagist
any_deprecatedno
min_days_since_publish114

Engineering Quality

Are baseline engineering and documentation practices in place?

78Good · 19% of overall
How it's scored
24/24CI workflows — 1 workflow(s)
24/24Tests present
16/16Linter config — .php-cs-fixer.dist.php
0/9.6Pre-commit hooks
0/6.4.editorconfig
16/20OpenSSF Scorecard: CI-Tests — 14 out of 16 merged PRs checked by a CI test -- score normalized to 8
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://documentation.onfido.com
10/10Repository description
10/10Topics — 3 topics
10/10Wiki
Inputs used
topicsphp, onfido-api, onfido
has_wikiyes
homepage—
docs_sitehttps://documentation.onfido.com
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

63Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2/2.5CI-Tests — 14 out of 16 merged PRs checked by a CI test -- score normalized to 8
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 16/20 approved changesets -- score normalized to 8
0.8/2.5Contributors — project has 1 contributing companies or organizations -- score normalized to 3
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
5.2/7.5Maintained — 9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7
0/5Packaging — no data
0.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1
4/5SAST — SAST tool is not run on all commits -- score normalized to 8
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
7.5/7.5Token-Permissions — GitHub workflow tokens follow principle of least privilege
0/7.5Vulnerabilities — 14 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.3
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
13.1/35Direct dependencies free of known advisories — 2 affected: guzzlehttp/guzzle 7.8.1 (high 7.2), guzzlehttp/psr7 2.6.2 (moderate 5.3)
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
35.3/40No advisories left outstanding — 1 advisory-carrying package(s) unaddressed past 90 days; oldest published 93 days ago
Inputs used
sourceosv
advisories14
affected_packages3
assessed_packages69
unassessed_packages0
affected_by_severityhigh 2, moderate 1
direct_affected_packages2
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 69 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.

45Weak · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
23.7/40Legible commit history — 44 of 99 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.444
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — .php-cs-fixer.dist.php
0/11Static type checking
10/10Reproducible environment — lockfile
4/10Demonstrated agent practice — 2 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 1 of the last 100 commits are automated dependency updates
1/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 1
Inputs used
has_nixno
has_testsyes
lockfilescomposer.lock
has_dockerfileno
typed_languageno
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0.02
toolchain_manifests—
dependency_bot_commit_share0.01
How it's scored
0/45Type-checkable code — PHP without a type-check config
54.7/55Manageable file sizes — 2/371 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes970,617
source_files_sampled371
oversized_source_files2

Key facts

20GitHub stars
29contributors
31commits, last 12 months
12days since last push
60releases
1bus factor
0open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 30 ⇿
0Stars
30Forks
58Releases

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.

0510152025303022018-042022-062026-08
Major 9Minor 40Patch 9

Each point covers 8 days.

OpenSSF Scorecard 6.3 / 10
6.3aggregate

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-09-13 11:30 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
8CI-Tests14 out of 16 merged PRs checked by a CI test -- score normalized to 8
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 16/20 approved changesets -- score normalized to 8
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
7Maintained9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7
n/aPackagingpackaging workflow not detected
1Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 1
8SASTSAST tool is not run on all commits -- score normalized to 8
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
0Vulnerabilities14 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
Packagistguzzlehttp/guzzle^7.3composer.json
Packagistguzzlehttp/psr7^1.7 || ^2.0composer.json
All dependencies 69

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

RegistryPackageVersionRelation
Packagistguzzlehttp/guzzle7.8.1direct
Packagistguzzlehttp/psr72.6.2direct
Packagistclue/ndjson-react1.3.0indirect
Packagistcomposer/pcre3.1.4indirect
Packagistcomposer/semver3.4.0indirect
Packagistcomposer/xdebug-handler3.0.5indirect
Packagistdoctrine/instantiator2.0.0indirect
Packagistevenement/evenement3.0.2indirect
Packagistfidry/cpu-core-counter1.1.0indirect
Packagistfriendsofphp/php-cs-fixer3.57.2indirect
Packagistguzzlehttp/promises2.0.2indirect
Packagistmyclabs/deep-copy1.11.1indirect
Packagistnikic/php-parser5.0.2indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphpunit/php-code-coverage9.2.31indirect
Packagistphpunit/php-file-iterator3.0.6indirect
Packagistphpunit/php-invoker3.1.1indirect
Packagistphpunit/php-text-template2.0.4indirect
Packagistphpunit/php-timer5.0.3indirect
Packagistphpunit/phpunit9.6.19indirect
Packagistpsr/container2.0.2indirect
Packagistpsr/event-dispatcher1.0.0indirect
Packagistpsr/http-client1.0.3indirect
Packagistpsr/http-factory1.1.0indirect
Packagistpsr/http-message2.0indirect
Packagistpsr/log3.0.0indirect
Packagistralouphie/getallheaders3.0.3indirect
Packagistreact/cache1.2.0indirect
Packagistreact/child-process0.6.5indirect
Packagistreact/dns1.12.0indirect
Packagistreact/event-loop1.5.0indirect
Packagistreact/promise3.2.0indirect
Packagistreact/socket1.15.0indirect
Packagistreact/stream1.3.0indirect
Packagistsebastian/cli-parser1.0.2indirect
Packagistsebastian/code-unit1.0.8indirect
Packagistsebastian/code-unit-reverse-lookup2.0.3indirect
Packagistsebastian/comparator4.0.8indirect
Packagistsebastian/complexity2.0.3indirect
Packagistsebastian/diff4.0.6indirect
Packagistsebastian/environment5.1.5indirect
Packagistsebastian/exporter4.0.6indirect
Packagistsebastian/global-state5.0.7indirect
Packagistsebastian/lines-of-code1.0.4indirect
Packagistsebastian/object-enumerator4.0.4indirect
Packagistsebastian/object-reflector2.0.4indirect
Packagistsebastian/recursion-context4.0.5indirect
Packagistsebastian/resource-operations3.0.4indirect
Packagistsebastian/type3.2.1indirect
Packagistsebastian/version3.0.2indirect
Packagistsymfony/console7.0.7indirect
Packagistsymfony/deprecation-contracts3.5.0indirect
Packagistsymfony/event-dispatcher7.0.7indirect
Packagistsymfony/event-dispatcher-contracts3.5.0indirect
Packagistsymfony/filesystem7.0.7indirect
Packagistsymfony/finder7.0.7indirect
Packagistsymfony/options-resolver7.0.7indirect
Packagistsymfony/polyfill-ctype1.29.0indirect
Packagistsymfony/polyfill-intl-grapheme1.29.0indirect
Packagistsymfony/polyfill-intl-normalizer1.29.0indirect
Packagistsymfony/polyfill-mbstring1.29.0indirect
Packagistsymfony/polyfill-php801.31.0indirect
Packagistsymfony/polyfill-php811.29.0indirect
Packagistsymfony/process7.1.7indirect
Packagistsymfony/service-contracts3.5.0indirect
Packagistsymfony/stopwatch7.0.7indirect
Packagistsymfony/string7.0.7indirect
Packagisttheseer/tokenizer1.2.3indirect
Dependency advisories 3

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

PackageVersionRelationSeverityAdvisoriesFixed in
guzzlehttp/guzzle7.8.1directhigh98.0.1
phpunit/phpunit9.6.19indirecthigh112.5.8
guzzlehttp/psr72.6.2directmoderate42.12.3

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

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