Skip to content

VKCOMkphp

KPHP — a PHP compiler

Repository stars
1,530 Star
All-time
#31,891 all time
Fork
120 Fork
Repository created
since 2020
Language
C++
License
GPL-3.0
CopyleftGPL-3.0; distributed changes must be open-sourced
Actively maintainedLast push today

About

README

KPHP is a compiler that turns a subset of PHP into native binaries, limited to language features it can compile.

What it does

Strict typing and KPHP built-in functions can optimize specific code.

Getting started

For an existing project, start with the PHP differences document and then consult the guide to compiling existing code.

Limitations

  • Features such as dynamic calls by name and mocks are unsupported.
  • Existing PHP projects usually require code changes to compile with KPHP.

Summarized by AI from the README · As of 2026-12-02, VKCOM/kphp had 1,530 stars. According to the 2026-12-02 record, VKCOM/kphp is catalogued under Languages, Compilers & Runtimes. Commercial use is subject to copyleft conditions. The last push was on 2026-12-01. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data

Raw observations · 27
Historical observations
Measured atRepository starsSource
2026-12-02 00:39 UTC1,530Source
2026-12-01 00:41 UTC1,530Source
2026-11-30 00:37 UTC1,531Source
2026-11-29 00:36 UTC1,530Source
2026-11-28 00:36 UTC1,531Source
2026-11-27 00:37 UTC1,531Source
2026-11-26 00:37 UTC1,530Source
2026-11-25 00:54 UTC1,530Source
2026-11-24 00:52 UTC1,528Source
2026-11-23 00:53 UTC1,528Source
2026-11-22 00:52 UTC1,528Source
2026-11-21 01:03 UTC1,528Source
2026-11-20 00:51 UTC1,528Source
2026-11-19 00:54 UTC1,529Source
2026-11-18 00:55 UTC1,529Source
2026-11-17 01:00 UTC1,529Source
2026-11-16 00:49 UTC1,529Source
2026-11-15 01:09 UTC1,529Source
2026-11-14 01:08 UTC1,529Source
2026-11-13 00:52 UTC1,529Source
2026-11-12 00:40 UTC1,529Source
2026-11-11 01:30 UTC1,529Source
2026-11-10 00:41 UTC1,528Source
2026-11-09 00:38 UTC1,527Source
2026-11-08 00:37 UTC1,528Source
2026-11-07 14:10 UTC1,528Source
2026-11-06 09:27 UTC1,529Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/kphp.svg)](https://github.day/resources/kphp?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 00:39 UTCSourceLicense source

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.