{"adoption": {"forks": 247, "observed_at": "2026-08-28T04:10:21.393496+00:00", "stars": 8471}, "canonical_url": "https://ross.abutalabs.com/products/prophecy", "card": {"archived": false, "artifact_type": "library", "description": "Highly opinionated mocking framework for PHP 5.3+", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["mocking", "testing"], "health_score": 83, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["phpspec/prophecy"], "name": "phpspec/prophecy", "platform": ["php"], "pushed_at": "2026-04-13T14:35:56+00:00", "repo": "phpspec/prophecy", "stars": 8471, "tags": ["test-doubles", "phpunit", "phpspec", "stubbing", "spies"], "topics": [], "urls": [], "use_cases": ["mock objects in phpunit tests", "create test doubles for php classes", "stub method calls in php tests", "verify predicted behavior of collaborators", "mock interfaces and extend classes in tests"], "what_it_is": "Prophecy is a highly opinionated yet powerful and flexible PHP object mocking framework. Originally built for phpspec2, it works with any PHP testing framework, including PHPUnit, with minimal setup.", "when_to_avoid": ["you need mocking in a non-PHP language", "you prefer simple anonymous-class stubs over a mocking DSL"], "when_to_choose": ["you write PHP tests and need expressive, fluent mocking", "you use phpspec or PHPUnit and want predictable test doubles", "you need to mock interfaces, extend classes, or check call predictions"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/prophecy", "repo": "phpspec/prophecy", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "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:10:21.393496+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:21.393496+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:27:09.525138+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a77ae96d0057362c2baeb816f82cb58f8a25fcd4a64303bb5d0b8744f8658c80", "fetched_at": "2026-08-28T04:10:21.393496+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpspec/prophecy"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 77, "longevity": 100, "rhythm": 72}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4909, "days_push": 142, "days_rel": 190, "gap_med": 24, "n_releases_24m": 8}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}