mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Update README.md
This commit is contained in:
parent
de1302c6af
commit
e3ccf916bf
@ -48,7 +48,9 @@ cat micro.sfx code.php > single-app && chmod +x single-app
|
|||||||
# 如果打包 PHAR 文件,仅需把 code.php 更换为 phar 文件路径即可
|
# 如果打包 PHAR 文件,仅需把 code.php 更换为 phar 文件路径即可
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 如果打包项目,可以先将项目打包为 phar + entry,然后结合打包 micro 与 phar 文件即可。关于如何将项目打包为 phar,后续有时间会提供一个脚本。
|
2. 如果打包项目,可以先将项目打包为 phar + entry,然后结合打包 micro 与 phar 文件即可。
|
||||||
|
|
||||||
|
> 关于如何将项目打包为 phar,见项目 [php-cli-helper](https://github.com/crazywhalecc/php-cli-helper)。
|
||||||
|
|
||||||
> 感谢 <https://github.com/dixyes/phpmicro> 项目提供的支持
|
> 感谢 <https://github.com/dixyes/phpmicro> 项目提供的支持
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user