Public record
Software health reportschema 0.11.0 · metrics 2.10.0 · 2026-07-15 16:41 UTC

PostHog / posthog-php

PHPMIT★ 31 stars⑂ 33 forkssince Feb 2020View on GitHub ↗

PostHog/posthog-php holds a health index of 89 out of 100, placing it in the Excellent band. It scores highest on Sustainability & Governance (91/100) and lowest on AI Readiness (53/100). It was last updated today. 5 contributors account for most of its recent work.

89
overall / 100
Excellent

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.

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

Ownership

PostHogOrganization
2,028 followers357 public repossince Jan 2020

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistposthog/posthog-php4.9.0582,101699 days agoposthog

Metrics by category

Vitality

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

89Excellent · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
18/36Commit cadence26/52 weeks with commits
18/18Commit volume129 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year129
human_commit_share
days_since_last_push0
active_weeks_last_year26

Release discipline

100Exceptional
How it's scored
27/27Ships releases69 releases published
36/36Release recencylatest release 9 days ago
27/27Release cadencea release every ~1.9 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count69
latest_release_tag4.9.0
releases_from_tagsno
days_since_latest_release9
mean_days_between_releases1.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?

70Good · 17% of overall
How it's scored
24/60Stars31 stars
12.5/25Forks33 forks
6.2/15Watchers14 watchers
Inputs used
forks33
stars31
watchers14
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_services
has_pull_request_templateyes
How it's scored
76.9/80Monthly downloads582,101 downloads/month across packagist
6.4/20Registry dependents8 packages depend on it
Inputs used
packagesposthog/posthog-php
dependents8
ecosystemspackagist
total_downloads5,193,841
monthly_downloads582,101
unverified_packages_excluded

Sustainability & Governance

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

91Excellent · 23% of overall
How it's scored
45.9/54Bus factor5 contributor(s) cover half of all commits
19.1/22.5Commit distributiontop contributor authored 15% of commits
13.5/13.5Contributor breadth38 contributors
10/10OpenSSF Scorecard: Contributorsproject has 17 contributing companies or organizations
Inputs used
bus_factor5
contributors_sampled38
top_contributor_share0.152
How it's scored
35.4/42Issue resolution84% of issues closed
24.9/30PR acceptance140/169 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
9/15OpenSSF Scorecard: Code-ReviewFound 19/30 approved changesets -- score normalized to 6
Inputs used
merged_prs140
open_issues5
closed_issues27
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.844
closed_unmerged_prs29
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
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
23.8/25Owner reach2,028 followers of PostHog
25/25Track record357 public repos, account ~6 yr old
Inputs used
followers2,028
owner_typeOrganization
is_verified
owner_loginPostHog
public_repos357
account_age_days2,361
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 9 days ago
20/20Version history69 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesposthog/posthog-php
ecosystemspackagist
any_deprecatedno
min_days_since_publish9

Engineering Quality

Are baseline engineering and documentation practices in place?

62Moderate · 19% of overall
How it's scored
24/24CI workflows7 workflow(s)
24/24Tests present
16/16Linter configphpcs.xml
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests19 out of 19 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno

Documentation

30At Risk
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
0/10Repository description
0/10Topics
0/10Wiki
Inputs used
topics
has_wikino
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionno

Security

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

62Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
3/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
2.5/2.5CI-Tests19 out of 19 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
4.5/7.5Code-ReviewFound 19/30 approved changesets -- score normalized to 6
2.5/2.5Contributorsproject has 17 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 14 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
5/5SASTSAST tool is run on all commits
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
6.8/7.5Vulnerabilities1 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated14
scorecard_versionv5.5.0
checks_inconclusive4
scorecard_aggregate6.2
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Signed-Releases, 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.

53Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
18/18One-command bootstrapMakefile
22/22Automated tests
11/11Lint / format configphpcs.xml
0/11Static type checking
10/10Reproducible environmentDockerfile, lockfile
0/10Demonstrated agent practiceno data
0/8Automated maintenanceno data
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilescomposer.lock, pnpm-lock.yaml
has_dockerfileyes
typed_languageno
bootstrap_filesMakefile
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. Remaining weights renormalized.
How it's scored
0/45Type-checkable codePHP without a type-check config
53.2/55Manageable file sizes2/60 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes153,392
source_files_sampled60
oversized_source_files2
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 examplesexamples
Inputs used
example_dirsexamples
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

31GitHub stars
38contributors
129commits, last 12 months
0days since last push
69releases
5bus factor
5open issues
npm, Packagistpackage ecosystems

More detail

OpenSSF Scorecard 6.2 / 10
6.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-07-15 16:40 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests19 out of 19 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6Code-ReviewFound 19/30 approved changesets -- score normalized to 6
10Contributorsproject has 17 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 14 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
9Vulnerabilities1 existing vulnerabilities detected
Direct dependencies 1
RegistryPackageVersion constraintManifest
Packagistsymfony/clock^6.2|^7.0|^8.0composer.json
All dependencies 131

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

RegistryPackageVersionRelation
Packagistsymfony/clock7.4.8direct
npm@babel/runtime7.29.2indirect
npm@changesets/apply-release-plan7.1.1indirect
npm@changesets/assemble-release-plan6.0.10indirect
npm@changesets/changelog-git0.2.1indirect
npm@changesets/cli2.31.0indirect
npm@changesets/config3.1.4indirect
npm@changesets/errors0.2.0indirect
npm@changesets/get-dependents-graph2.1.4indirect
npm@changesets/get-release-plan4.0.16indirect
npm@changesets/get-version-range-type0.4.0indirect
npm@changesets/git3.0.4indirect
npm@changesets/logger0.1.1indirect
npm@changesets/parse0.4.3indirect
npm@changesets/pre2.0.2indirect
npm@changesets/read0.6.7indirect
npm@changesets/should-skip-package0.1.2indirect
npm@changesets/types4.1.0indirect
npm@changesets/types6.1.0indirect
npm@changesets/write0.4.0indirect
npm@inquirer/external-editor1.0.3indirect
npm@manypkg/find-root1.1.0indirect
npm@manypkg/get-packages1.1.3indirect
npm@nodelib/fs.scandir2.1.5indirect
npm@nodelib/fs.stat2.0.5indirect
npm@nodelib/fs.walk1.2.8indirect
npm@types/node12.20.55indirect
npmansi-colors4.1.3indirect
npmansi-regex5.0.1indirect
npmargparse1.0.10indirect
npmargparse2.0.1indirect
npmarray-union2.1.0indirect
npmbetter-path-resolve1.0.0indirect
npmbraces3.0.3indirect
npmchardet2.1.1indirect
npmcross-spawn7.0.6indirect
npmdetect-indent6.1.0indirect
npmdir-glob3.0.1indirect
npmenquirer2.4.1indirect
npmesprima4.0.1indirect
npmextendable-error0.1.7indirect
npmfast-glob3.3.3indirect
npmfastq1.20.1indirect
npmfill-range7.1.1indirect
npmfind-up4.1.0indirect
npmfs-extra7.0.1indirect
npmfs-extra8.1.0indirect
npmglob-parent5.1.2indirect
npmglobby11.1.0indirect
npmgraceful-fs4.2.11indirect
npmhuman-id4.1.3indirect
npmiconv-lite0.7.2indirect
npmignore5.3.2indirect
npmis-extglob2.1.1indirect
npmis-glob4.0.3indirect
npmis-number7.0.0indirect
npmis-subdir1.2.0indirect
npmis-windows1.0.2indirect
npmisexe2.0.0indirect
npmjs-yaml3.14.2indirect
npmjs-yaml4.1.1indirect
npmjsonfile4.0.0indirect
npmlocate-path5.0.0indirect
npmlodash.startcase4.4.0indirect
npmmerge21.4.1indirect
npmmicromatch4.0.8indirect
npmmri1.2.0indirect
npmoutdent0.5.0indirect
npmp-filter2.1.0indirect
npmp-limit2.3.0indirect
npmp-locate4.1.0indirect
npmp-map2.1.0indirect
npmp-try2.2.0indirect
npmpackage-manager-detector0.2.11indirect
npmpath-exists4.0.0indirect
npmpath-key3.1.1indirect
npmpath-type4.0.0indirect
npmpicocolors1.1.1indirect
npmpicomatch2.3.2indirect
npmpify4.0.1indirect
npmprettier2.8.8indirect
npmquansync0.2.11indirect
npmqueue-microtask1.2.3indirect
npmread-yaml-file1.1.0indirect
npmresolve-from5.0.0indirect
npmreusify1.1.0indirect
npmrun-parallel1.2.0indirect
npmsafer-buffer2.1.2indirect
npmsemver7.7.4indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmsignal-exit4.1.0indirect
npmslash3.0.0indirect
npmspawndamnit3.0.1indirect
npmsprintf-js1.0.3indirect
npmstrip-ansi6.0.1indirect
npmstrip-bom3.0.0indirect
npmterm-size2.2.1indirect
npmto-regex-range5.0.1indirect
npmuniversalify0.1.2indirect
npmwhich2.0.2indirect
Packagistmyclabs/deep-copy1.13.4indirect
Packagistnikic/php-parser5.7.0indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphpunit/php-code-coverage11.0.12indirect
Packagistphpunit/php-file-iterator5.1.1indirect
Packagistphpunit/php-invoker5.0.1indirect
Packagistphpunit/php-text-template4.0.1indirect
Packagistphpunit/php-timer7.0.1indirect
Packagistphpunit/phpunit11.5.55indirect
Packagistpsr/clock1.0.0indirect
Packagistsebastian/cli-parser3.0.2indirect
Packagistsebastian/code-unit3.0.3indirect
Packagistsebastian/code-unit-reverse-lookup4.0.1indirect
Packagistsebastian/comparator6.3.3indirect
Packagistsebastian/complexity4.0.1indirect
Packagistsebastian/diff6.0.2indirect
Packagistsebastian/environment7.2.1indirect
Packagistsebastian/exporter6.3.2indirect
Packagistsebastian/global-state7.0.2indirect
Packagistsebastian/lines-of-code3.0.1indirect
Packagistsebastian/object-enumerator6.0.1indirect
Packagistsebastian/object-reflector4.0.1indirect
Packagistsebastian/recursion-context6.0.3indirect
Packagistsebastian/type5.1.3indirect
Packagistsebastian/version5.0.2indirect
Packagistsquizlabs/php_codesniffer3.13.5indirect
Packagiststaabm/side-effects-detector1.0.5indirect
Packagistsymfony/polyfill-php831.33.0indirect
Packagisttheseer/tokenizer1.3.1indirect
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.11.0 — full methodology · metrics wiki.

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