Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-16 06:07 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 (80/100) and lowest on AI Readiness (46/100). It was last updated 9 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
54 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.3.027,393629 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 9 days ago
11.8/36Commit cadence — 17/52 weeks with commits
14.2/18Commit volume — 37 commits in the last year
5/10OpenSSF Scorecard: Maintained — 7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Inputs used
Commits in the last year37
Share of human-authored commits0.99
Days since last push9
Weeks with commits in the last year17
How it's scored
27/27Ships releases — 61 releases published
36/36Release recency — latest release 9 days ago
19.8/27Release cadence — a release every ~57.7 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases61
Latest release tagv10.3.0
Releases derived from version tagsno
Days since latest release9
Mean days between releases57.7
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?

49Weak · 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 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)
0/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 README2
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the READMEbadge.fury.io, github.com
Pull request template presentno
How it's scored
59.2/80Monthly downloads — 27,393 downloads/month across packagist
2/20Registry dependents — 1 packages depend on it
Inputs used
Packagesonfido/onfido-php
Registry dependents1
Package ecosystemspackagist
Total downloads285,365
Monthly downloads27,393
Packages excluded as unverified—

Sustainability & Governance

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

68Good · 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
Share of commits by the top contributor0.567
How it's scored
0/42Issue resolution — no issues or no data
27/30PR acceptance — 80/89 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
10.5/15OpenSSF Scorecard: Code-Review — Found 16/21 approved changesets -- score normalized to 7
Inputs used
Merged pull requests80
Open issues0
Closed issues0
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days2
Pull requests decided in the last 30 days2
Share of issues closed—
Pull requests closed without merging9
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Issue resolution, Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
12.5/25Owner reach — 54 followers of onfido
25/25Track record — 85 public repos, account ~12 yr old
Inputs used
Followers54
Owner account typeOrganization
Verified domainno
Owner accountonfido
Public repositories85
Owner account age in days4,650

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 9 days ago
20/20Version history — 62 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesonfido/onfido-php
Package ecosystemspackagist
Any package deprecated or yankedno
Days since latest package publish9

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 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
20/20OpenSSF Scorecard: CI-Tests — 16 out of 16 merged PRs checked by a CI test -- score normalized to 10
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 — https://documentation.onfido.com
10/10Repository description
10/10Topics — 3 topics
10/10Wiki
Inputs used
Repository topicsphp, onfido-api, onfido
Wiki enabledyes
Repository homepage—
Documentation sitehttps://documentation.onfido.com
README presentyes
Documentation directory presentno
Repository description presentyes

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-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 16 out of 16 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
5.2/7.5Code-Review — Found 16/21 approved changesets -- score normalized to 7
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
3.8/7.5Maintained — 7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
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
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score6.1
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
30.5/40No advisories left outstanding — 2 advisory-carrying package(s) unaddressed past 90 days; oldest published 157 days ago
Inputs used
Data sourceosv
Advisories across affected packages14
Packages affected by advisories3
Packages assessed69
Packages not assessed0
Affected packages by severityhigh 2, moderate 1
Direct dependencies affected by advisories2
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.

46Weak · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
24.8/40Legible commit history — 46 of 99 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.465
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 — .php-cs-fixer.dist.php
0/11Static type checking
10/10Reproducible environment — lockfile
6/10Demonstrated agent practice — 3 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
Nix config presentno
Tests presentyes
Dependency lockfilescomposer.lock
Dockerfile presentno
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.03
Toolchain manifests—
Share of commits that are automated dependency updates0.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
Size of the largest source file (bytes)970,617
Source files sampled371
Oversized source files2

Key facts

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

Data collection warnings

  • Star history unavailable

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.1 / 10
6.1aggregate

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-16 06:07 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
10CI-Tests16 out of 16 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7Code-ReviewFound 16/21 approved changesets -- score normalized to 7
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
5Maintained7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
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.