{"adoption": {"forks": 116, "observed_at": "2026-08-28T04:04:58.112554+00:00", "stars": 1523}, "canonical_url": "https://ross.abutalabs.com/products/kphp", "card": {"archived": false, "artifact_type": "cli-tool", "description": "KPHP — a PHP compiler", "domain": ["compilers", "programming-languages", "web-development", "backend", "performance"], "enriched": true, "function": ["compiler", "http-server", "web-framework"], "health_score": 80, "homepage": "https://vkcom.github.io/kphp/", "language": "C++", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["VKCOM/kphp"], "name": "VKCOM/kphp", "platform": ["cpp", "cli"], "pushed_at": "2026-08-26T15:53:01+00:00", "repo": "VKCOM/kphp", "stars": 1523, "tags": ["php", "transpiler", "static-typing", "type-inference", "native-binary", "vk", "compiler", "linux", "macos"], "topics": ["kphp", "compiler", "php"], "urls": [], "use_cases": ["compile PHP code to a fast native binary", "speed up PHP backend code by 3-10x", "add static type checking to a PHP codebase", "run PHP-like code without a PHP runtime or JIT", "build high-performance web services with PHP syntax"], "what_it_is": "KPHP is a PHP compiler developed at VK.com that compiles a limited subset of PHP to C++ and then to a native binary running faster than plain PHP. It performs static type inference and compile-time optimizations, and runs the compiled code within an embedded HTTP server.", "when_to_avoid": ["you need to compile arbitrary existing PHP code without modifications", "you rely on unsupported PHP features like generators, anonymous classes, SPL, or XML parsing", "you need dynamic PHP features such as calling by name or mocks"], "when_to_choose": ["you have performance-critical PHP code and are willing to adapt it to a strict type system", "you want compile-time type safety and optimizations for PHP-style code", "you are building a new backend service and prefer PHP syntax with native speed"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kphp", "repo": "VKCOM/kphp", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "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:04:58.112554+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:58.112554+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:32:46.062327+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6f413e03a9803ae951d8997d43531e8db9afd3e508fb4844601fb08ddab69c8", "fetched_at": "2026-08-28T04:04:58.112554+00:00", "kind": "readme", "missing": false, "url": "https://github.com/VKCOM/kphp"}, {"content_hash": "84a273c295c245ae1edc1623b6a2adef1d34d53957659a8eccbf0ddaa711a3b5", "fetched_at": "2026-08-29T11:34:28.953784+00:00", "kind": "homepage", "missing": false, "url": "https://vkcom.github.io/kphp/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2123, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}