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

segmentio / analytics-php

The hassle-free way to integrate analytics into any php application.

PHPMIT★ 256 stars⑂ 126 forkssince Jan 2013View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

segmentio/analytics-php holds a health index of 73 out of 100, placing it in the Good band. It scores highest on Sustainability & Governance (90/100) and lowest on Vitality (41/100). It was last updated 61 days ago. 4 contributors account 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

SegmentOrganization · verified domain
685 followers421 public repossince May 2011

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistsegmentio/analytics-php3.9.0581,0784962 days agoanalyticssegmentioanalytics.jssegment

Metrics by category

Vitality

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

41Weak · 21% of overall
How it's scored
18/36Push recency — last push 61 days ago
2.8/36Commit cadence — 4/52 weeks with commits
8.6/18Commit volume — 8 commits in the last year
4/10OpenSSF Scorecard: Maintained — 5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Inputs used
Commits in the last year8
Share of human-authored commits1
Days since last push61
Weeks with commits in the last year4
How it's scored
27/27Ships releases — 7 releases published
7.2/36Release recency — latest release 671 days ago
12.6/27Release cadence — a release every ~236.3 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases7
Latest release tag3.8.1
Releases derived from version tagsno
Days since latest release671
Mean days between releases236.3
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?

65Good · 17% of overall
How it's scored
39/60Stars — 256 stars
17.5/25Forks — 126 forks
9.1/15Watchers — 44 watchers
Inputs used
Forks126
Stars256
Watchers44
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 READMEcodecov.io, github.com
Pull request template presentno
How it's scored
76.9/80Monthly downloads — 581,078 downloads/month across packagist
9.6/20Registry dependents — 27 packages depend on it
Inputs used
Packagessegmentio/analytics-php
Registry dependents27
Package ecosystemspackagist
Total downloads25,034,416
Monthly downloads581,078
Packages excluded as unverified—

Sustainability & Governance

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

90Excellent · 23% of overall
How it's scored
43.2/54Bus factor — 4 contributor(s) cover half of all commits
15.8/22.5Commit distribution — top contributor authored 30% of commits
13.5/13.5Contributor breadth — 47 contributors
10/10OpenSSF Scorecard: Contributors — project has 21 contributing companies or organizations
Inputs used
Bus factor4
Contributors sampled47
Share of commits by the top contributor0.298
How it's scored
41.1/42Issue resolution — 98% of issues closed
23.3/30PR acceptance — 122/157 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
12/15OpenSSF Scorecard: Code-Review — Found 26/30 approved changesets -- score normalized to 8
Inputs used
Merged pull requests122
Open issues2
Closed issues94
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed0.979
Pull requests closed without merging35
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): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
20.4/25Owner reach — 685 followers of segmentio
25/25Track record — 421 public repos, account ~15 yr old
Inputs used
Followers685
Owner account typeOrganization
Verified domainyes
Owner accountsegmentio
Public repositories421
Owner account age in days5,662

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

67Good · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config — phpcs.xml
0/9.6Pre-commit hooks
0/6.4.editorconfig
4/20OpenSSF Scorecard: CI-Tests — 6 out of 26 merged PRs checked by a CI test -- score normalized to 2
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://segment.com/libraries/php
10/10Repository description
0/10Topics
10/10Wiki
Inputs used
Repository topics—
Wiki enabledyes
Repository homepagehttps://segment.com/libraries/php
Documentation sitehttps://segment.com/libraries/php
README presentyes
Documentation directory presentno
Repository description presentyes

Security

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

57Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3/7.5Branch-Protection — branch protection is not maximal on development and all release branches
0.5/2.5CI-Tests — 6 out of 26 merged PRs checked by a CI test -- score normalized to 2
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 26/30 approved changesets -- score normalized to 8
2.5/2.5Contributors — project has 21 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
3/7.5Maintained — 5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
0/5Packaging — no data
1.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 3
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6/7.5Vulnerabilities — 2 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated16
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive2
OpenSSF Scorecard aggregate score4.6
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages2
Packages affected by advisories2
Packages assessed49
Packages not assessed2
Affected packages by severityhigh 2
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 49 resolved dependencies against OSV. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. 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.

48Weak · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
22.4/40Legible commit history — 42 of 100 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.42
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — phpcs.xml
0/11Static type checking
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
3/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 3
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilescomposer.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
0/45Type-checkable code — PHP without a type-check config
55/55Manageable file sizes — 0/21 source files over 60KB
Inputs used
Primary languagePHP
Size of the largest source file (bytes)19,192
Source files sampled21
Oversized source files0

Key facts

256GitHub stars
47contributors
8commits, last 12 months
61days since last push
7releases
4bus factor
2open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable
  • Could not fetch packagist package 'segment/analytics-php-e2e-cli' from its registry

More detail

Star and fork history 0 ★ / 126 ⇿
0Stars
126Forks
7Releases

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.

02040608010012011332013-022019-092026-03
Major 1Minor 5Patch 1

Each point covers 12 days.

OpenSSF Scorecard 4.6 / 10
4.6aggregate

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

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
2CI-Tests6 out of 26 merged PRs checked by a CI test -- score normalized to 2
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 26/30 approved changesets -- score normalized to 8
10Contributorsproject has 21 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
4Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
n/aPackagingpackaging workflow not detected
3Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
8Vulnerabilities2 existing vulnerabilities detected
All dependencies 51

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

RegistryPackageVersionRelation
Packagistdealerdirect/phpcodesniffer-composer-installer0.7.2indirect
Packagistdoctrine/instantiator2.0.0indirect
Packagistmyclabs/deep-copy1.13.4indirect
Packagistn98/junit-xml1.1.0indirect
Packagistnikic/php-parser5.8.0indirect
Packagistovertrue/phplint3.1.1indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphp—indirect
Packagistphp-parallel-lint/php-parallel-lint1.4.0indirect
Packagistphpstan/phpdoc-parser1.33.0indirect
Packagistphpunit/php-code-coverage9.2.32indirect
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.35indirect
Packagistpsr/container2.0.2indirect
Packagistroave/security-advisories—indirect
Packagistsebastian/cli-parser1.0.2indirect
Packagistsebastian/code-unit1.0.8indirect
Packagistsebastian/code-unit-reverse-lookup2.0.3indirect
Packagistsebastian/comparator4.0.10indirect
Packagistsebastian/complexity2.0.3indirect
Packagistsebastian/diff4.0.6indirect
Packagistsebastian/environment5.1.5indirect
Packagistsebastian/exporter4.0.8indirect
Packagistsebastian/global-state5.0.8indirect
Packagistsebastian/lines-of-code1.0.4indirect
Packagistsebastian/object-enumerator4.0.4indirect
Packagistsebastian/object-reflector2.0.4indirect
Packagistsebastian/recursion-context4.0.6indirect
Packagistsebastian/resource-operations3.0.4indirect
Packagistsebastian/type3.2.1indirect
Packagistsebastian/version3.0.2indirect
Packagistslevomat/coding-standard7.2.1indirect
Packagistsquizlabs/php_codesniffer3.13.5indirect
Packagistsymfony/console5.4.47indirect
Packagistsymfony/deprecation-contracts3.7.1indirect
Packagistsymfony/finder5.4.45indirect
Packagistsymfony/polyfill-ctype1.37.0indirect
Packagistsymfony/polyfill-intl-grapheme1.38.1indirect
Packagistsymfony/polyfill-intl-normalizer1.38.0indirect
Packagistsymfony/polyfill-mbstring1.38.2indirect
Packagistsymfony/polyfill-php731.37.0indirect
Packagistsymfony/polyfill-php801.37.0indirect
Packagistsymfony/process5.4.51indirect
Packagistsymfony/service-contracts3.7.1indirect
Packagistsymfony/string6.4.39indirect
Packagistsymfony/yaml5.4.53indirect
Packagisttheseer/tokenizer1.3.1indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 49 packages, which also include development and test pins that never ship: 2 carry known advisories, of which 0 are direct. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
squizlabs/php_codesniffer3.13.5indirecthigh14.0.2
symfony/yaml5.4.53indirecthigh18.1.6

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.