Update CLI documentation for clarity and accuracy

This commit is contained in:
crazywhalecc
2026-04-29 15:33:06 +08:00
parent a73e6c0e7e
commit 27c364f692
7 changed files with 15 additions and 22 deletions

View File

@@ -82,13 +82,6 @@ The script downloads `php` and `composer` into a `runtime/` subdirectory. You th
# Add this to ~/.bashrc or ~/.zshrc to make it permanent
```
::: tip
In regions with restricted access to GitHub or getcomposer.org, pass `--mirror china` to use a mirror:
```bash
bin/setup-runtime --mirror china
```
:::
## Vendor mode
If you already have a PHP project and want to call StaticPHP's build APIs directly, or use a custom registry to support private libraries and extensions, pull it in as a Composer dependency: