mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
Update CLI documentation for clarity and accuracy
This commit is contained in:
@@ -74,6 +74,10 @@ This approach lets you run download and compile as separate steps — useful whe
|
||||
|
||||
### Step 1: Download Dependencies
|
||||
|
||||
In v3, you can skip this step entirely — running `build:php` directly will automatically download any missing artifacts.
|
||||
|
||||
If you want to pre-download ahead of time, or if you're working in a slow-network environment and want to separate the download phase, use the `download` command:
|
||||
|
||||
```bash
|
||||
# Download only what the chosen extensions need (recommended)
|
||||
spc download --for-extensions="bcmath,posix,phar,zlib,openssl,curl,fileinfo,tokenizer" --with-php=8.4
|
||||
|
||||
Reference in New Issue
Block a user