{"adoption": {"forks": 743, "observed_at": "2026-08-28T04:10:41.927788+00:00", "stars": 10407}, "canonical_url": "https://ross.abutalabs.com/products/rector", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Instant Upgrades and Automated Refactoring of any PHP 5.3+ code", "domain": ["developer-tools", "programming-languages", "web-development"], "enriched": true, "function": ["developer-tools", "build-tool", "code-review", "parser"], "health_score": 100, "homepage": "https://getrector.com", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["rectorphp/rector"], "name": "rectorphp/rector", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-26T20:42:25+00:00", "repo": "rectorphp/rector", "stars": 10407, "tags": ["php-ast", "automated-refactoring", "code-upgrades", "legacy-modernization", "static-analysis", "automation"], "topics": ["php", "ast", "instant-upgrades", "automated-upgrades", "upgrade", "rector"], "urls": [], "use_cases": ["upgrade php codebase to php 8", "automatically migrate symfony framework version", "refactor legacy php code automatically", "run automated code quality checks in ci", "upgrade phpunit tests to latest version", "modernize legacy php 5.3 application"], "what_it_is": "Rector is a PHP CLI tool that performs instant upgrades and automated refactoring of PHP codebases using AST-based rules. It supports upgrades from PHP 5.3 to 8.5 and framework migrations for projects like Symfony, PHPUnit, and Doctrine.", "when_to_avoid": ["your project is not written in PHP", "you need one-off manual refactoring with full human control over every change", "your codebase is untyped procedural code with no OOP structure, where Rector works less effectively"], "when_to_choose": ["you need to upgrade PHP or framework versions with minimal manual effort", "you want continuous automated refactoring in CI to maintain code quality", "you maintain a large legacy PHP codebase that needs modernization"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/rector", "repo": "rectorphp/rector", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "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:41.927788+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:41.927788+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:19:03.951027+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "071c5087a3a230601e9d7bf02d99aa5ca34d73ebb61c562bfa9cf2fd52040c18", "fetched_at": "2026-08-28T04:10:41.927788+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rectorphp/rector"}, {"content_hash": "1df83eeab93148705cab881d86b1e80342dd3916de088ff53a4bd0d574565455", "fetched_at": "2026-08-29T08:18:11.267172+00:00", "kind": "homepage", "missing": false, "url": "https://getrector.com"}, {"content_hash": "7c2e12878352cf7c25f1ab341d8cd9cadbd59741720b6ba338cab49bba5eac5e", "fetched_at": "2026-08-29T08:18:11.269892+00:00", "kind": "site_page", "missing": false, "url": "https://getrector.com/documentation"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 86}, "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": 3336, "days_push": 7, "days_rel": 15, "gap_med": 6, "n_releases_24m": 76}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}