{"adoption": {"forks": 47, "observed_at": "2026-08-28T04:09:52.397112+00:00", "stars": 6994}, "canonical_url": "https://ross.abutalabs.com/products/hamcrest-php", "card": {"archived": false, "artifact_type": "library", "description": "PHP Hamcrest implementation [Official]", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["testing", "mocking"], "health_score": 92, "homepage": null, "language": "PHP", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["hamcrest/hamcrest-php"], "name": "hamcrest/hamcrest-php", "platform": ["php"], "pushed_at": "2026-06-17T07:23:22+00:00", "repo": "hamcrest/hamcrest-php", "stars": 6994, "tags": ["hamcrest", "matchers", "assertions", "unit-testing", "phpunit"], "topics": [], "urls": [], "use_cases": ["write readable assertions in phpunit tests", "match values with expressive matchers like equalTo or containsString", "combine matchers with both/andAlso and either/orElse", "avoid risky test warnings by counting hamcrest assertions", "port java hamcrest test styles to php"], "what_it_is": "The official PHP port of the Hamcrest matcher library, providing a fluent set of matchers for writing expressive assertions in tests. It follows the original Java API closely and integrates with PHPUnit via MatcherAssert and global proxy functions.", "when_to_avoid": ["you prefer PHPUnit's built-in assertions without extra dependencies", "you need collection matchers that have not been ported yet", "your project does not use PHP"], "when_to_choose": ["you want declarative, composable matchers instead of plain assert calls", "you are already using PHPUnit and want richer assertion expressiveness", "you are porting Hamcrest-based tests from Java or other languages to PHP"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/hamcrest-php", "repo": "hamcrest/hamcrest-php", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:52.397112+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:41:06.772257+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dc1922a338fcd66f59c837c0b001bc0e53275ce5ddd6b517847e11af2876161a", "fetched_at": "2026-08-28T04:09:52.397112+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hamcrest/hamcrest-php"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 57}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4628, "days_push": 77, "days_rel": 78, "gap_med": 206.0, "n_releases_24m": 3}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}