VKCOM/kphp
Some data may be outdated — see provenance labels.
KPHP — a PHP compiler observed · 2026-10-02
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2171
- days_rel: n/a
- days_push: 20
- n_releases_24m: 0
Adoption not part of the score
1526 stars · 116 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
cli-tool · maturity active
compiler http-server web-framework compilers programming-languages web-development backend performance cpp cli php transpiler static-typing type-inference native-binary vk compiler linux macos
2 sources
- readme: https://github.com/VKCOM/kphp · fetched 2026-10-02 · b6f413e03a98
- homepage: https://vkcom.github.io/kphp/ · fetched 2026-08-29 · 84a273c295c2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| VKCOM/kphp | main | 76 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem