Releases: PurHur/php-compiler
Releases · PurHur/php-compiler
v1.0.0 — First stable release
First stable release line of PurHur/php-compiler.
Highlights
- README rewritten for newcomers: architecture (VM / JIT / AOT),
phpcCLI, 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/helloDocs
Self-host prerelease (prerelease-selfhost-20260528-96518c30)
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 driverSHA256SUMS.txt: checksums
Verified (Docker, LLVM 9)
make bootstrap-native-compile-driver-smokemake 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.