CLI
Allowed terminal commands
The terminal is intentionally restricted. It does not run arbitrary shell, composer scripts, or PHP code from the archive. Every command passes whitelist and plan limits.
help
Show the available commands.
ls [path]
List files inside the active ZIP workspace.
pwd
Show the safe working path.
php2go report [entry.php]
Generate a project report and analysis coverage.
php2go check [entry.php]
Check the project without generating a binary.
php2go deps [--json] [entry.php]
Show dependencies; --json returns machine-readable output.
php2go compile [--web] [--bin name] [entry.php]
Start compilation. Use --web for a web server; set the binary name with --bin.
download
Explain how to download the ready artifact after compile.
clear
Clear the browser terminal screen.
Why arbitrary commands are blocked
The service accepts third-party ZIP archives, so shell commands, network installs, and arbitrary execution are blocked to protect users, workers, and the server.