From 970a74896a7196388eacb79556a1a604e3858855 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Thu, 26 Oct 2023 20:34:58 +0800 Subject: [PATCH] Adjust new README --- README-zh.md | 17 +++++++++-------- README.md | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README-zh.md b/README-zh.md index 9beb1999..eb45bd2c 100755 --- a/README-zh.md +++ b/README-zh.md @@ -45,25 +45,26 @@ Build single static PHP binary, with PHP project together, with popular extensio 目前支持编译的 PHP 版本为:`7.3`,`7.4`,`8.0`,`8.1`,`8.2`,`8.3`。 -## 使用 +## 自托管直接下载 -请先根据下方扩展列表选择你要编译的扩展。 - -### 自托管直接下载 - -如果你不想自行编译,可以从本项目现有的 Action 下载 Artifact,也可以从自托管的服务器下载:[进入](https://dl.static-php.dev/static-php-cli/common/) +如果你不想自行编译 PHP,可以从本项目现有的示例 Action 下载 Artifact,也可以从自托管的服务器下载:[进入](https://dl.static-php.dev/static-php-cli/common/) > 自托管的服务器默认包含的扩展有:`bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip` +## 使用 static-php-cli 构建 PHP + ### 支持的扩展情况 -[扩展支持列表](https://static-php.dev/zh/guide/extensions.html) +请先根据下方扩展列表选择你要编译的扩展。 + +- [扩展支持列表](https://static-php.dev/zh/guide/extensions.html) +- [编译命令生成器](https://static-php.dev/zh/guide/cli-generator.html) > 如果这里没有你需要的扩展,可以提交 Issue。 ### 使用 Actions 构建 -使用 GitHub Action 可以方便地构建一个静态编译的 PHP 和 phpmicro,同时可以自行定义要编译的扩展。 +使用 GitHub Action 可以方便地构建一个静态编译的 PHP,同时可以自行定义要编译的扩展。 1. Fork 本项目。 2. 进入项目的 Actions,选择 CI。 diff --git a/README.md b/README.md index bf5e8f22..432969e6 100755 --- a/README.md +++ b/README.md @@ -48,25 +48,26 @@ Here is the architecture support status, where `CI` represents support for GitHu Currently supported PHP versions for compilation are: `7.3`, `7.4`, `8.0`, `8.1`, `8.2`, `8.3`. -## Simple Usage +## Direct Download -Please first select the extension you want to compile based on the extension list below. - -### Direct Download - -If you don't compile yourself, you can download example pre-compiled artifact from Actions, or from self-hosted server: [Here](https://dl.static-php.dev/static-php-cli/common/) +If you don't want to compile yourself, you can download example pre-compiled artifact from Actions, or from self-hosted server: [Here](https://dl.static-php.dev/static-php-cli/common/) > self-hosted server contains extensions: `bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip` +## Use static-php-cli to build PHP + ### Supported Extensions -[Supported Extension List](https://static-php.dev/en/guide/extensions.html) +Please first select the extension you want to compile based on the extension list below. + +- [Supported Extension List](https://static-php.dev/en/guide/extensions.html) +- [Command Generator](https://static-php.dev/en/guide/cli-generator.html) > If an extension you need is missing, you can submit an issue. ### GitHub Actions Build -Use GitHub Action to easily build a statically compiled PHP and phpmicro, +Use GitHub Action to easily build a statically compiled PHP, and at the same time define the extensions to be compiled by yourself. 1. Fork me.