Public record
Software health reportschema 0.16.0 · metrics 2.10.0 · 2026-07-20 22:23 UTC

jfcherng / php-diff

A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).

PHPBSD-3-Clause★ 482 stars⑂ 49 forkssince Jan 2019View on GitHub ↗

jfcherng/php-diff holds a health index of 73 out of 100, placing it in the Good band. It scores highest on Engineering Quality (74/100) and lowest on Security (48/100). It was last updated today. A single contributor accounts for most of its recent work.

73
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.

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

Ownership

Jack CherngPersonal account
166 followers62 public repossince Feb 2014Realtek Semiconductor Corp.

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
Packagistjfcherng/php-diff7.0.1231,42715128 days agodiffudiffunified-diffunidiff

Metrics by category

Vitality

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

67Good · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
2.8/36Commit cadence4/52 weeks with commits
12.9/18Commit volume26 commits in the last year
4/10OpenSSF Scorecard: Maintained4 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 4
Inputs used
commits_last_year26
human_commit_share
days_since_last_push0
active_weeks_last_year4
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 28 days ago
12.6/27Release cadencea release every ~122.6 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tag6.16.3
releases_from_tagsno
days_since_latest_release28
mean_days_between_releases122.6
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?

63Moderate · 17% of overall
How it's scored
43.5/60Stars482 stars
14/25Forks49 forks
5/15Watchers9 watchers
Inputs used
forks49
stars482
watchers9
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (BSD-3-Clause)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno
How it's scored
71.5/80Monthly downloads231,427 downloads/month across packagist
11.5/20Registry dependents52 packages depend on it
Inputs used
packagesjfcherng/php-diff
dependents52
ecosystemspackagist
total_downloads5,972,389
monthly_downloads231,427
unverified_packages_excluded

Sustainability & Governance

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

64Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
1.1/22.5Commit distributiontop contributor authored 95% of commits
13.5/13.5Contributor breadth24 contributors
10/10OpenSSF Scorecard: Contributorsproject has 7 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled24
top_contributor_share0.951
How it's scored
38.3/42Issue resolution91% of issues closed
25.3/30PR acceptance27/32 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-ReviewFound 2/30 approved changesets -- score normalized to 0
Inputs used
merged_prs27
open_issues5
closed_issues52
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.912
closed_unmerged_prs5
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
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
16/25Owner reach166 followers of jfcherng
25/25Track record62 public repos, account ~12 yr old
Inputs used
followers166
owner_typeUser
is_verified
owner_loginjfcherng
public_repos62
account_age_days4,548
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 28 days ago
20/20Version history151 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesjfcherng/php-diff
ecosystemspackagist
any_deprecatedno
min_days_since_publish28

Engineering Quality

Are baseline engineering and documentation practices in place?

74Good · 19% of overall
How it's scored
24/24CI workflows1 workflow(s)
24/24Tests present
16/16Linter config.php-cs-fixer.dist.php, phpcs.xml
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
10/20OpenSSF Scorecard: CI-Tests1 out of 2 merged PRs checked by a CI test -- score normalized to 5
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://packagist.org/packages/jfcherng/php-diff
10/10Repository description
10/10Topics5 topics
0/10Wiki
Inputs used
topicsdiff, psr-1, psr-4, psr-12, hacktoberfest
has_wikino
homepagehttps://packagist.org/packages/jfcherng/php-diff
docs_sitehttps://packagist.org/packages/jfcherng/php-diff
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

48Weak · 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
1.2/2.5CI-Tests1 out of 2 merged PRs checked by a CI test -- score normalized to 5
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 2/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 7 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
3/7.5Maintained4 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 4
0/5Packagingno data
0/5Pinned-Dependenciesno data
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not 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_aggregate3.5
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_packages76
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 76 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.

70Good · 4% of overall
How it's scored
45/45Agent instructionsAGENTS.md
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_filesAGENTS.md
agent_instruction_max_bytes1,770
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config.php-cs-fixer.dist.php, phpcs.xml
0/11Static type checking
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno data
0/8Automated maintenanceno data
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_share
toolchain_manifests
dependency_bot_commit_share
Excluded from scoring (no data or not applicable): Demonstrated agent practice, Automated maintenance, OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable codePHP without a type-check config
55/55Manageable file sizes0/50 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes15,934
source_files_sampled50
oversized_source_files0
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)not applicable to this kind of software
0/20MCP servernot applicable to this kind of software
40/40Runnable examplesexample
Inputs used
example_dirsexample
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

482GitHub stars
24contributors
26commits, last 12 months
0days since last push
100releases
1bus factor
5open issues
Packagistpackage ecosystems

More detail

OpenSSF Scorecard 3.5 / 10
3.5aggregate

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-07-20 22:22 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
5CI-Tests1 out of 2 merged PRs checked by a CI test -- score normalized to 5
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 2/30 approved changesets -- score normalized to 0
10Contributorsproject has 7 contributing companies or organizations
n/aDangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
4Maintained4 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 4
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
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
Packagistjfcherng/php-color-output^3composer.json
Packagistjfcherng/php-mb-string^1.4.6 || ^2composer.json
Packagistjfcherng/php-sequence-matcher^5composer.json
All dependencies 76

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

RegistryPackageVersionRelation
Packagistjfcherng/php-color-output3.0.0direct
Packagistjfcherng/php-mb-string2.0.1direct
Packagistjfcherng/php-sequence-matcher5.0.0direct
Packagistclue/ndjson-react1.3.0indirect
Packagistcomposer/pcre3.3.2indirect
Packagistcomposer/semver3.4.4indirect
Packagistcomposer/xdebug-handler3.0.5indirect
Packagistdanog/advanced-json-rpc3.2.3indirect
Packagistdoctrine/deprecations1.1.6indirect
Packagistevenement/evenement3.0.2indirect
Packagistfidry/cpu-core-counter1.3.0indirect
Packagistfriendsofphp/php-cs-fixer3.94.2indirect
Packagistmyclabs/deep-copy1.13.4indirect
Packagistnetresearch/jsonmapper5.0.1indirect
Packagistnikic/php-parser5.7.0indirect
Packagistphan/phan6.0.5indirect
Packagistphan/tolerant-php-parser0.2.0indirect
Packagistphan/var_representation_polyfill0.1.4indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphpdocumentor/reflection-common2.2.0indirect
Packagistphpdocumentor/reflection-docblock6.0.3indirect
Packagistphpdocumentor/type-resolver2.0.0indirect
Packagistphpstan/phpdoc-parser2.3.2indirect
Packagistphpunit/php-code-coverage12.5.3indirect
Packagistphpunit/php-file-iterator6.0.1indirect
Packagistphpunit/php-invoker6.0.0indirect
Packagistphpunit/php-text-template5.0.0indirect
Packagistphpunit/php-timer8.0.0indirect
Packagistphpunit/phpunit12.5.16indirect
Packagistpsr/container2.0.2indirect
Packagistpsr/event-dispatcher1.0.0indirect
Packagistpsr/log3.0.2indirect
Packagistreact/cache1.2.0indirect
Packagistreact/child-process0.6.7indirect
Packagistreact/dns1.14.0indirect
Packagistreact/event-loop1.6.0indirect
Packagistreact/promise3.3.0indirect
Packagistreact/socket1.17.0indirect
Packagistreact/stream1.4.0indirect
Packagistsabre/event6.0.1indirect
Packagistsebastian/cli-parser4.2.0indirect
Packagistsebastian/comparator7.1.4indirect
Packagistsebastian/complexity5.0.0indirect
Packagistsebastian/diff7.0.0indirect
Packagistsebastian/environment8.0.4indirect
Packagistsebastian/exporter7.0.2indirect
Packagistsebastian/global-state8.0.2indirect
Packagistsebastian/lines-of-code4.0.0indirect
Packagistsebastian/object-enumerator7.0.0indirect
Packagistsebastian/object-reflector5.0.0indirect
Packagistsebastian/recursion-context7.0.1indirect
Packagistsebastian/type6.0.3indirect
Packagistsebastian/version6.0.0indirect
Packagistsquizlabs/php_codesniffer4.0.1indirect
Packagiststaabm/side-effects-detector1.0.5indirect
Packagistsymfony/console7.4.8indirect
Packagistsymfony/deprecation-contracts3.6.0indirect
Packagistsymfony/event-dispatcher7.4.8indirect
Packagistsymfony/event-dispatcher-contracts3.6.0indirect
Packagistsymfony/filesystem7.4.8indirect
Packagistsymfony/finder7.4.8indirect
Packagistsymfony/options-resolver7.4.8indirect
Packagistsymfony/polyfill-ctype1.33.0indirect
Packagistsymfony/polyfill-intl-grapheme1.33.0indirect
Packagistsymfony/polyfill-intl-normalizer1.33.0indirect
Packagistsymfony/polyfill-mbstring1.33.0indirect
Packagistsymfony/polyfill-php801.33.0indirect
Packagistsymfony/polyfill-php811.33.0indirect
Packagistsymfony/polyfill-php841.33.0indirect
Packagistsymfony/process7.4.8indirect
Packagistsymfony/service-contracts3.6.1indirect
Packagistsymfony/stopwatch7.4.8indirect
Packagistsymfony/string7.4.8indirect
Packagisttheseer/tokenizer2.0.1indirect
Packagistwebmozart/assert2.1.6indirect
Dependency advisories 0

This repository publishes no package the index resolves, so its own dependency graph was assessed — 76 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.16.0 — full methodology · metrics wiki.

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