Legacy PHP
When old PHP code needs to move closer to a Go runtime or be checked for compatibility quickly.
Upload a ZIP, inspect the project in a protected cloud terminal, run allowed php2go commands, and download a compiled binary with logs, manifest, and run instructions.
$ php2go report public/index.php
files=248 classes=91 functions=327 fallbacks=4
$ php2go compile --web --bin app-server public/index.php
stage=Analyze ok · stage=Codegen ok · stage=GoBuild ok
runtime linked · artifact sealed · limits charged
artifact ready: app-server-linux-amd64.zip
php2go Cloud covers the path from ZIP archive to binary without local toolchain setup, command chaos, or manual limit accounting.
When old PHP code needs to move closer to a Go runtime or be checked for compatibility quickly.
Upload the client archive, get the analysis log, run the build, and deliver a readable artifact.
One build process, usage limits, job history, and reproducible commands.
ZIP files are checked for dangerous paths, executable extensions, zip bombs, and unwanted files.
Users see allowed commands and can only run php2go scenarios.
The output is a binary, build logs, and a clear run path without exposing server internals.
Jobs, payments, invoices, usage, and plans stay visible in the admin area.
The public demo block simulates the real terminal: commands, analysis, worker queue, and a ready artifact. A fully interactive demo mode will be a separate next block.
php2go report public/index.phpphp2go check public/index.phpphp2go deps public/index.phpphp2go compile --web --bin app-server public/index.php
$ php2go check public/index.php
syntax ok · unsupported calls=0 · warnings=2
$ php2go compile --web --bin demo-server public/index.php
queued job #demo-1024 · worker picked
artifact manifest written · sha256 verified
download ready after registration
The project ZIP lands in an isolated workspace.
Run report/check/deps before compiling.
Commands pass whitelist and usage limits.
The compiled binary package is delivered as ZIP.
The SaaS must accept user code without allowing arbitrary execution. Commands, archives, logs, and artifacts are constrained separately.
Only php2go commands needed for analysis and compilation are allowed.
Protection against path traversal, zip bombs, dangerous extensions, and secret files.
Job, payment, invoice, and admin activity history remains in the system.
Sell one-time compilations, subscriptions, or custom plans from the admin panel.
Put the project sources into an archive so the entry point, for example public/index.php, is inside the ZIP. Vendor/runtime can be configured separately.
No. The terminal accepts only whitelisted php2go commands: report, check, deps, and compile.
A ZIP with the binary, logs, and run instructions. Runtime internals and server paths are not exposed.
Archives are checked before extraction, commands are limited, and the runner has resource limits. Container isolation is recommended for production.
Start with a free project or upgrade when you need higher limits.