File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Box 致力于帮助提升 Hyperf 应用程序的编程体验,管理 PHP 环境
1313##### Mac
1414
1515``` bash
16- wget https://github.com/hyperf/box/releases/download/v0.3 .0/box_x86_64_macos -O box
16+ wget https://github.com/hyperf/box/releases/download/v0.4 .0/box_x86_64_macos -O box
1717sudo mv ./box /usr/local/bin/box
1818sudo chmod 755 /usr/local/bin/box
1919// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 ` box` 放到你想要的任意 $PATH 路径中
@@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
2222##### Linux x86_64
2323
2424``` bash
25- wget https://github.com/hyperf/box/releases/download/v0.3 .0/box_x86_64_linux -O box
25+ wget https://github.com/hyperf/box/releases/download/v0.4 .0/box_x86_64_linux -O box
2626sudo mv ./box /usr/local/bin/box
2727sudo chmod 755 /usr/local/bin/box
2828// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 ` box` 放到你想要的任意 $PATH 路径中
@@ -64,6 +64,7 @@ box config set kernel swoole
6464- ` box build-prepare ` 为 ` build ` 和 ` build-self ` 命令做好相关环境的准备
6565- ` box build-self ` 构建 ` box ` bin 本身
6666- ` box build <path> ` 将 Hyperf 应用程序构建成二进制文件
67+ - ` box self-update ` 将 ` box ` bin 更新至最新版本
6768- ` box config list ` 输出 box 配置文件的所有内容
6869- ` box config get <key> ` 从配置文件中按键检索值
6970- ` box config set <key> <value> ` 通过 key 设置 value 到配置文件中
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Box is committed to helping improve the programming experience of Hyperf applica
1313##### Mac
1414
1515``` bash
16- wget https://github.com/hyperf/box/releases/download/v0.3 .0/box_x86_64_macos -O box
16+ wget https://github.com/hyperf/box/releases/download/v0.4 .0/box_x86_64_macos -O box
1717sudo mv ./box /usr/local/bin/box
1818sudo chmod 755 /usr/local/bin/box
1919// Make sure /usr/local/bin/box in your $PATH env, or put ` box` into any path in $PATH env that you want
@@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
2222##### Linux x86_64
2323
2424``` bash
25- wget https://github.com/hyperf/box/releases/download/v0.3 .0/box_x86_64_linux -O box
25+ wget https://github.com/hyperf/box/releases/download/v0.4 .0/box_x86_64_linux -O box
2626sudo mv ./box /usr/local/bin/box
2727sudo chmod 755 /usr/local/bin/box
2828// Make sure /usr/local/bin/box in your $PATH env, or put ` box` into any path in $PATH env that you want
@@ -64,6 +64,7 @@ box config set kernel swoole
6464- ` box build-prepare` to get ready for ` build` and ` build-self` command
6565- ` box build-self` to build the ` box` bin itself
6666- ` box build < path> ` to build a Hyperf application into a binary file
67+ - ` box self-update` to update the ` box` bin to latest version
6768- ` box config list` to dump the config file
6869- ` box config get < key> ` to retrieve the value by key from config file
6970- ` box config set < key> < value> ` to set value by key into the config file
Original file line number Diff line number Diff line change 1414
1515class Box
1616{
17- public const VERSION = '0.3 .0 ' ;
17+ public const VERSION = '0.4 .0 ' ;
1818}
You can’t perform that action at this time.
0 commit comments