The simplest possible php-universe application.
cd examples/hello-world
composer install
px build --target=native
./dist/hello-world "PHP Universe"- Basic PHP functions
- CLI entry point detection
- Simple function exports for WASM
- Minimal configuration
# Native binary
px build --target=native
./dist/hello-world
# WebAssembly
px build --target=wasm
# Then use the generated .wasm file in your web appsrc/main.php- Main application codeuniverse.toml- Build configurationcomposer.json- PHP dependencies