Skip to content

Releases: PurHur/php-compiler

v1.0.0 — First stable release

29 May 11:13
d18df3a

Choose a tag to compare

First stable release line of PurHur/php-compiler.

Highlights

  • README rewritten for newcomers: architecture (VM / JIT / AOT), phpc CLI, examples, honest capability snapshot
  • Demo-ready subset: examples 000–007, MiniWebApp native execute, phpc build / phpc deploy
  • Contribution policy: coordinate on other channels before GitHub issues/PRs; align with maintainer AI-agent workflow
  • Experimental self-host: M0–M4 spine 726/726, M5 vendor prelink in progress

Lineage

This project continues Anthony Ferrara's original ircmaxell/php-compiler (MIT). This fork is a separate continuation with LLVM 9 JIT/AOT, phpc, web examples, and bootstrap/self-host work.

Quick start

git clone https://github.com/PurHur/php-compiler.git
cd php-compiler
composer install
./phpc test --fast
./phpc build -o /tmp/hello examples/000-HelloWorld/example.php && /tmp/hello

Docs

Self-host prerelease (prerelease-selfhost-20260528-96518c30)

28 May 09:04
1c60481

Choose a tag to compare

What this is

Pre-release binaries produced by the compiler (self-host bootstrap loop).

Artifacts

  • bin-compile-aot: native compile driver (argv -o OUT SOURCE.php)
  • bootstrap-loop-gen3-full-spine: gen-3 spine binary produced by gen-2 driver
  • SHA256SUMS.txt: checksums

Verified (Docker, LLVM 9)

  • make bootstrap-native-compile-driver-smoke
  • make bootstrap-loop-gen2-recompile-spine

Notes

These are development artifacts tied to master and may require the same runtime deps as the repo's Docker image.