Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-22 12:14 UTC

ramsey / collection

:card_index_dividers: A PHP library for representing and manipulating collections.

PHPMIT★ 1,200 stars⑂ 54 forkssince Oct 2015View on GitHub ↗

ramsey/collection holds a health index of 73 out of 100, placing it in the Good band. It scores highest on Community & Adoption (83/100) and lowest on AI Readiness (39/100). It was last updated 4 days ago. 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

Ben RamseyPersonal account
1,706 followers94 public repossince Dec 2008

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
Packagistramsey/collection2.1.116,620,31218518 days agoqueuearraymaphashsetcollection

Metrics by category

Vitality

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

48Weak · 21% of overall
How it's scored
36/36Push recencylast push 4 days ago
3.5/36Commit cadence5/52 weeks with commits
7/18Commit volume5 commits in the last year
0/10OpenSSF Scorecard: Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year5
human_commit_share0.9
days_since_last_push4
active_weeks_last_year5
How it's scored
27/27Ships releases18 releases published
7.2/36Release recencylatest release 518 days ago
12.6/27Release cadencea release every ~169 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count18
latest_release_tag2.1.1
releases_from_tagsno
days_since_latest_release518
mean_days_between_releases169
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?

83Excellent · 17% of overall
How it's scored
49.9/60Stars1,200 stars
14.4/25Forks54 forks
5/15Watchers9 watchers
Inputs used
forks54
stars1,200
watchers9
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_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicesshields.io
has_pull_request_templateyes
How it's scored
80/80Monthly downloads16,620,312 downloads/month across packagist
12.8/20Registry dependents81 packages depend on it
Inputs used
packagesramsey/collection
dependents81
ecosystemspackagist
total_downloads555,894,703
monthly_downloads16,620,312
unverified_packages_excluded

Sustainability & Governance

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

63Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
8.3/22.5Commit distributiontop contributor authored 63% of commits
13.5/13.5Contributor breadth25 contributors
10/10OpenSSF Scorecard: Contributorsproject has 13 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled25
top_contributor_share0.631
How it's scored
37.9/42Issue resolution90% of issues closed
18.1/30PR acceptance58/96 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 5/22 approved changesets -- score normalized to 2
Inputs used
merged_prs58
open_issues4
closed_issues37
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.902
closed_unmerged_prs38
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
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
23.2/25Owner reach1,706 followers of ramsey
25/25Track record94 public repos, account ~17 yr old
Inputs used
followers1,706
owner_typeUser
is_verified
owner_loginramsey
public_repos94
account_age_days6,446
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable1 package(s) on packagist
14/35Publish recencylatest publish 518 days ago
20/20Version history18 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesramsey/collection
ecosystemspackagist
any_deprecatedno
min_days_since_publish518

Engineering Quality

Are baseline engineering and documentation practices in place?

70Good · 19% of overall
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
6/20OpenSSF Scorecard: CI-Tests5 out of 14 merged PRs checked by a CI test -- score normalized to 3
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configno
has_precommit_configno

Documentation

85Excellent
How it's scored
30/30README
25/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics8 topics
10/10Wiki
Inputs used
topicscollection, array, hash, map, queue, set, php, php8
has_wikiyes
homepage
docs_site
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

65Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
0.8/2.5CI-Tests5 out of 14 merged PRs checked by a CI test -- score normalized to 3
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 5/22 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 13 contributing companies or organizations
0/10Dangerous-Workflowno data
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packagingno data
0/5Pinned-Dependenciesno data
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated12
scorecard_versionv5.5.0
checks_inconclusive6
scorecard_aggregate5.6
Excluded from scoring (no data or not applicable): Branch-Protection, 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
advisories26
affected_packages7
assessed_packages114
unassessed_packages3
affected_by_severityhigh 4, moderate 3
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 114 resolved dependencies against OSV. 3 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.

39Weak · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history84 of 90 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.933
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
0/10Reproducible environment
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance10 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesno data
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.1
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable codePHP without a type-check config
55/55Manageable file sizes0/60 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes25,845
source_files_sampled60
oversized_source_files0

Key facts

1,200GitHub stars
25contributors
5commits, last 12 months
4days since last push
18releases
1bus factor
4open 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 ★ / 54 ⇿
0Stars
54Forks
14Releases

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.

010203040506054132016-052021-042026-03
Major 2Minor 4Patch 8

Each point covers 9 days.

OpenSSF Scorecard 5.6 / 10
5.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-08-22 12:14 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
3CI-Tests5 out of 14 merged PRs checked by a CI test -- score normalized to 3
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 5/22 approved changesets -- score normalized to 2
10Contributorsproject has 13 contributing companies or organizations
n/aDangerous-Workflowno workflows found
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
All dependencies 117

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

RegistryPackageVersionRelation
Packagistamphp/amp2.5.0indirect
Packagistamphp/byte-stream1.8.0indirect
Packagistcaptainhook/captainhook5.3.3indirect
Packagistclue/stream-filter1.4.1indirect
Packagistcomposer/package-versions-deprecated1.11.99indirect
Packagistcomposer/semver3.0.1indirect
Packagistcomposer/xdebug-handler1.4.3indirect
Packagistdealerdirect/phpcodesniffer-composer-installer0.7.0indirect
Packagistdnoegel/php-xdg-base-dir0.1.1indirect
Packagistdoctrine/instantiator1.3.1indirect
Packagistergebnis/composer-normalize2.8.1indirect
Packagistergebnis/json-normalizer0.13.1indirect
Packagistergebnis/json-printer3.1.1indirect
Packagistfelixfbecker/advanced-json-rpc3.1.1indirect
Packagistfelixfbecker/language-server-protocol1.4.0indirect
Packagistfzaninotto/faker1.9.1indirect
Packagistguzzlehttp/guzzle6.5.5indirect
Packagistguzzlehttp/promises1.3.1indirect
Packagistguzzlehttp/psr71.6.1indirect
Packagisthamcrest/hamcrest-php2.0.1indirect
Packagistjangregor/phpstan-prophecy0.6.2indirect
Packagistjustinrainbow/json-schema5.2.10indirect
Packagistknplabs/github-api2.15.0indirect
Packagistlocalheinz/diff1.1.1indirect
Packagistm4tthumphrey/php-gitlab-api9.19.0indirect
Packagistmockery/mockery1.4.2indirect
Packagistmyclabs/deep-copy1.10.1indirect
Packagistnetresearch/jsonmapper2.1.0indirect
Packagistnikic/php-parser4.9.1indirect
Packagistopenlss/lib-array2xml1.0.0indirect
Packagistparagonie/random_compat9.99.99indirect
Packagistphar-io/manifest2.0.1indirect
Packagistphar-io/version3.0.2indirect
Packagistphly/keep-a-changelog2.9.0indirect
Packagistphp-http/cache-plugin1.7.1indirect
Packagistphp-http/client-common2.3.0indirect
Packagistphp-http/discovery1.10.0indirect
Packagistphp-http/guzzle6-adapter2.0.1indirect
Packagistphp-http/httplug2.2.0indirect
Packagistphp-http/message1.9.0indirect
Packagistphp-http/message-factory1.0.2indirect
Packagistphp-http/multipart-stream-builder1.1.2indirect
Packagistphp-http/promise1.1.0indirect
Packagistphpcsstandards/phpcsextraindirect
Packagistphpcsstandards/phpcsutilsindirect
Packagistphpdocumentor/reflection-common2.2.0indirect
Packagistphpdocumentor/reflection-docblock5.2.1indirect
Packagistphpdocumentor/type-resolver1.3.0indirect
Packagistphpspec/prophecy1.11.1indirect
Packagistphpspec/prophecy-phpunit2.0.1indirect
Packagistphpstan/extension-installer1.0.5indirect
Packagistphpstan/phpdoc-parser0.4.9indirect
Packagistphpstan/phpstan0.12.42indirect
Packagistphpstan/phpstan-mockery0.12.7indirect
Packagistphpstan/phpstan-phpunit0.12.16indirect
Packagistphpunit/php-code-coverage9.1.8indirect
Packagistphpunit/php-file-iterator3.0.4indirect
Packagistphpunit/php-invoker3.1.0indirect
Packagistphpunit/php-text-template2.0.2indirect
Packagistphpunit/php-timer5.0.1indirect
Packagistphpunit/phpunit9.3.8indirect
Packagistpsr/cache1.0.1indirect
Packagistpsr/container1.0.0indirect
Packagistpsr/event-dispatcher1.0.0indirect
Packagistpsr/http-client1.0.1indirect
Packagistpsr/http-factory1.0.1indirect
Packagistpsr/http-message1.0.1indirect
Packagistpsr/log1.1.3indirect
Packagistpsy/psysh0.10.4indirect
Packagistralouphie/getallheaders3.0.3indirect
Packagistramsey/coding-standard1.2.0indirect
Packagistramsey/composer-repl1.1.1indirect
Packagistramsey/conventional-commits1.0.1indirect
Packagistramsey/devtools1.4.1indirect
Packagistroave/security-advisoriesindirect
Packagistsebastian/cli-parser1.0.0indirect
Packagistsebastian/code-unit1.0.5indirect
Packagistsebastian/code-unit-reverse-lookup2.0.2indirect
Packagistsebastian/comparator4.0.3indirect
Packagistsebastian/complexity2.0.0indirect
Packagistsebastian/diff4.0.2indirect
Packagistsebastian/environment5.1.2indirect
Packagistsebastian/exporter4.0.2indirect
Packagistsebastian/global-state5.0.0indirect
Packagistsebastian/lines-of-code1.0.0indirect
Packagistsebastian/object-enumerator4.0.2indirect
Packagistsebastian/object-reflector2.0.2indirect
Packagistsebastian/recursion-context4.0.2indirect
Packagistsebastian/resource-operations3.0.2indirect
Packagistsebastian/type2.2.1indirect
Packagistsebastian/version3.0.1indirect
Packagistsebastianfeldmann/camino0.9.3indirect
Packagistsebastianfeldmann/cli3.3.0indirect
Packagistsebastianfeldmann/git3.3.0indirect
Packagistslevomat/coding-standard6.4.0indirect
Packagistsquizlabs/php_codesniffer3.5.6indirect
Packagistsymfony/console5.1.5indirect
Packagistsymfony/deprecation-contracts2.2.0indirect
Packagistsymfony/options-resolver5.1.5indirect
Packagistsymfony/polyfill-ctype1.18.1indirect
Packagistsymfony/polyfill-intl-grapheme1.18.1indirect
Packagistsymfony/polyfill-intl-idn1.18.1indirect
Packagistsymfony/polyfill-intl-normalizer1.18.1indirect
Packagistsymfony/polyfill-mbstring1.18.1indirect
Packagistsymfony/polyfill-php701.18.1indirect
Packagistsymfony/polyfill-php721.18.1indirect
Packagistsymfony/polyfill-php731.18.1indirect
Packagistsymfony/polyfill-php801.18.1indirect
Packagistsymfony/process5.1.5indirect
Packagistsymfony/service-contracts2.2.0indirect
Packagistsymfony/string5.1.5indirect
Packagistsymfony/var-dumper5.1.5indirect
Packagisttheseer/tokenizer1.2.0indirect
Packagistvimeo/psalm3.15indirect
Packagistwebmozart/assert1.9.1indirect
Packagistwebmozart/glob4.1.0indirect
Packagistwebmozart/path-util2.3.0indirect
Dependency advisories 7

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

PackageVersionRelationSeverityAdvisoriesFixed in
guzzlehttp/guzzle6.5.5indirecthigh148.0.1
phpunit/phpunit9.3.8indirecthigh112.5.8
squizlabs/php_codesniffer3.5.6indirecthigh14.0.2
symfony/process5.1.5indirecthigh28.0.5
guzzlehttp/psr71.6.1indirectmoderate62.12.3
psy/psysh0.10.4indirectmoderate10.12.19
symfony/polyfill-intl-idn1.18.1indirectmoderate11.38.1

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