{"adoption": {"forks": 2222, "observed_at": "2026-08-28T04:11:29.593879+00:00", "stars": 20045}, "canonical_url": "https://ross.abutalabs.com/products/phpunit", "card": {"archived": false, "artifact_type": "framework", "description": "The PHP Unit Testing framework.", "domain": ["testing", "developer-tools", "programming-languages"], "enriched": true, "function": ["testing", "e2e-testing", "mocking", "cli"], "health_score": 100, "homepage": "https://phpunit.de/", "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["sebastianbergmann/phpunit", "sebastianbergmann/php-code-coverage", "sebastianbergmann/phpunit-mock-objects", "sebastianbergmann/cli-parser", "sebastianbergmann/complexity", "sebastianbergmann/diff", "sebastianbergmann/environment", "sebastianbergmann/exporter", "sebastianbergmann/global-state", "sebastianbergmann/lines-of-code", "sebastianbergmann/object-enumerator", "sebastianbergmann/object-reflector", "sebastianbergmann/recursion-context", "sebastianbergmann/type", "sebastianbergmann/version", "sebastianbergmann/comparator", "sebastianbergmann/php-file-iterator", "sebastianbergmann/php-invoker", "sebastianbergmann/php-text-template", "sebastianbergmann/php-timer"], "name": "PHPUnit", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-26T21:38:25+00:00", "repo": "sebastianbergmann/phpunit", "stars": 20045, "tags": ["xunit", "unit-testing", "code-coverage", "test-runner", "php"], "topics": ["php", "phpunit", "testing-tools"], "urls": [], "use_cases": ["write unit tests for php code", "run automated tests in php projects", "generate code coverage reports", "mock dependencies in php tests", "set up continuous integration testing for php", "assert and compare php values in tests"], "what_it_is": "PHPUnit is the de facto unit testing framework for PHP, following the xUnit architecture. It provides a test runner, assertions, mocking, code coverage reporting, and a rich ecosystem of supporting components.", "when_to_avoid": ["you are testing JavaScript, Python, or other non-PHP languages", "you need browser-based end-to-end testing, which is better served by tools like Playwright or Cypress"], "when_to_choose": ["you are testing any PHP codebase, from libraries to full applications", "you need an industry-standard xUnit-style framework with mature tooling and IDE support", "you want code coverage, mocking, and diff-based failure output out of the box"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/repos/sebastianbergmann/phpunit", "repo": "sebastianbergmann/phpunit", "role": "main", "score": 94}, {"path": "/repos/sebastianbergmann/php-code-coverage", "repo": "sebastianbergmann/php-code-coverage", "role": "sdk", "score": 99}, {"path": "/repos/sebastianbergmann/php-timer", "repo": "sebastianbergmann/php-timer", "role": "sdk", "score": 78}, {"path": "/repos/sebastianbergmann/diff", "repo": "sebastianbergmann/diff", "role": "sdk", "score": 99}, {"path": "/repos/sebastianbergmann/php-file-iterator", "repo": "sebastianbergmann/php-file-iterator", "role": "sdk", "score": 99}, {"path": "/repos/sebastianbergmann/php-text-template", "repo": "sebastianbergmann/php-text-template", "role": "sdk", "score": 78}, {"path": "/repos/sebastianbergmann/comparator", "repo": "sebastianbergmann/comparator", "role": "sdk", "score": 98}, {"path": "/repos/sebastianbergmann/exporter", "repo": "sebastianbergmann/exporter", "role": "sdk", "score": 98}, {"path": "/repos/sebastianbergmann/environment", "repo": "sebastianbergmann/environment", "role": "sdk", "score": 94}, {"path": "/repos/sebastianbergmann/global-state", "repo": "sebastianbergmann/global-state", "role": "sdk", "score": 86}, {"path": "/repos/sebastianbergmann/version", "repo": "sebastianbergmann/version", "role": "sdk", "score": 78}, {"path": "/repos/sebastianbergmann/recursion-context", "repo": "sebastianbergmann/recursion-context", "role": "sdk", "score": 90}, {"path": "/repos/sebastianbergmann/object-enumerator", "repo": "sebastianbergmann/object-enumerator", "role": "sdk", "score": 87}, {"path": "/repos/sebastianbergmann/object-reflector", "repo": "sebastianbergmann/object-reflector", "role": "sdk", "score": 87}, {"path": "/repos/sebastianbergmann/phpunit-mock-objects", "repo": "sebastianbergmann/phpunit-mock-objects", "role": "sdk", "score": 10}, {"path": "/repos/sebastianbergmann/type", "repo": "sebastianbergmann/type", "role": "sdk", "score": 94}, {"path": "/repos/sebastianbergmann/php-invoker", "repo": "sebastianbergmann/php-invoker", "role": "sdk", "score": 78}, {"path": "/repos/sebastianbergmann/complexity", "repo": "sebastianbergmann/complexity", "role": "sdk", "score": 78}, {"path": "/repos/sebastianbergmann/cli-parser", "repo": "sebastianbergmann/cli-parser", "role": "sdk", "score": 89}, {"path": "/repos/sebastianbergmann/lines-of-code", "repo": "sebastianbergmann/lines-of-code", "role": "sdk", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "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:11:29.593879+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:29.593879+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:59:22.035533+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cec1c943dc6bb514a487741126092d43e8213e9cff014e3a3505e06c49468fbb", "fetched_at": "2026-08-28T04:11:29.593879+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phpunit"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 85}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6096, "days_push": 7, "days_rel": 20, "gap_med": 0, "n_releases_24m": 242}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}