Adjust new README

This commit is contained in:
crazywhalecc 2023-10-26 20:28:35 +08:00
parent 5e0cccfe3d
commit 29179ecb84
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 12 additions and 10 deletions

View File

@ -14,7 +14,7 @@ Build single static PHP binary, with PHP project together, with popular extensio
> 该 SAPI 源自 [dixyes/phpmicro](https://github.com/dixyes/phpmicro) 的 [Fork 仓库](https://github.com/crazywhalecc/phpmicro)。
[![Version](https://img.shields.io/badge/Version-2.0--rc5-pink.svg?style=flat-square)]()
[![Version](https://img.shields.io/badge/Version-2.0--rc7-pink.svg?style=flat-square)]()
[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)]()
[![](https://img.shields.io/github/actions/workflow/status/crazywhalecc/static-php-cli/build-linux-x86_64.yml?branch=refactor&label=Linux%20Build&style=flat-square)](https://github.com/crazywhalecc/static-php-cli/actions/workflows/build.yml)
[![](https://img.shields.io/github/actions/workflow/status/crazywhalecc/static-php-cli/build-macos-x86_64.yml?branch=refactor&label=macOS%20Build&style=flat-square)](https://github.com/crazywhalecc/static-php-cli/actions/workflows/build.yml)
@ -23,6 +23,10 @@ Build single static PHP binary, with PHP project together, with popular extensio
> 项目名称是 static-php-cli但其实支持 cli、fpm、micro 和 embed SAPI 😎
## 文档
目前 README 编写了基本用法。有关 static-php-cli 所有的功能,请点击这里查看文档:<https://static-php.dev>
## 编译环境需求
是的,本项目采用 PHP 编写,编译前需要一个 PHP 环境,比较滑稽。
@ -41,10 +45,6 @@ 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`
## 文档
点击这里查看文档:<https://static-php.dev>
## 使用
请先根据下方扩展列表选择你要编译的扩展。

View File

@ -24,6 +24,11 @@ You can also use the micro binary file to combine php binary and php source code
[![](https://img.shields.io/badge/Extension%20Counter-55+-yellow.svg?style=flat-square)]()
[![](https://img.shields.io/github/search/crazywhalecc/static-php-cli/TODO?label=TODO%20Counter&style=flat-square)]()
## Docs
The current README contains basic usage. For all the features of static-php-cli,
see <https://static-php.dev>.
## Compilation Requirements
Yes, this project is written in PHP, pretty funny.
@ -43,10 +48,6 @@ 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`.
## Docs
docs here: <https://static-php.dev>.
## Simple Usage
Please first select the extension you want to compile based on the extension list below.
@ -190,7 +191,8 @@ cd buildroot/bin/
### micro.sfx Usage
> phpmicro is a SelF-extracted eXecutable SAPI module,
> provided by [dixyes/phpmicro](https://github.com/dixyes/phpmicro).
> provided by [phpmicro](https://github.com/dixyes/phpmicro) project.
> But this project is using a [fork](https://github.com/crazywhalecc/phpmicro) of phpmicro, because we need to add some features to it.
> It can put php runtime and your source code together.
When using the parameter `--build-all` or `--build-micro`,