Skip to content

Commit 69daaae

Browse files
authored
Merge pull request #35 from huangzhhui/release-v0.1.0
Release v0.1.0
2 parents c1dcb55 + 5bfc731 commit 69daaae

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

README-CN.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Box 致力于帮助提升 Hyperf 应用程序的编程体验,管理 PHP 环境
1818
##### Mac
1919

2020
```bash
21-
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_macos -O box
21+
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_macos -O box
2222
sudo mv ./box /usr/local/bin/box
2323
sudo chmod 755 /usr/local/bin/box
2424
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
@@ -27,7 +27,7 @@ sudo chmod 755 /usr/local/bin/box
2727
##### Linux x86_64
2828

2929
```bash
30-
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_linux -O box
30+
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_linux -O box
3131
sudo mv ./box /usr/local/bin/box
3232
sudo chmod 755 /usr/local/bin/box
3333
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
@@ -66,5 +66,6 @@ Box 需要一个 Github 访问令牌来请求 Github API,以检索包的版本
6666
- `box reverse-proxy -u <upsteamHost:upstreamPort>` 启动一个反向代理 HTTP 服务器,用于将 HTTP 请求转发到指定的多个上游服务器
6767
- `box php <argument>` 通过当前 box 的 PHP 版本运行任何 PHP 命令
6868
- `box composer <argument>`通过当前 box 的 PHP 版本运行任何 Composer 命令,composer bin 的版本取决于最后执行的`get composer`命令
69-
- `box php-cs-fixer <argument>` 通过当前 box 的 PHP 版本运行任何 php-cs-fixer 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
69+
- `box php-cs-fixer <argument>` 通过当前 box 的 PHP 版本运行任何 `php-cs-fixer` 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
70+
- `box cs-fix <argument>` 通过当前 box 的 PHP 版本运行 `php-cs-fixer fix` 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
7071
- `box version` 输出当前 box bin 的版本号

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Please notice that box **ONLY** supports for **Swow**, but **NOT** Swoole, so yo
1818
##### Mac
1919

2020
```bash
21-
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_macos -O box
21+
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_macos -O box
2222
sudo mv ./box /usr/local/bin/box
2323
sudo chmod 755 /usr/local/bin/box
2424
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
@@ -27,7 +27,7 @@ sudo chmod 755 /usr/local/bin/box
2727
##### Linux x86_64
2828

2929
```bash
30-
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_linux -O box
30+
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_linux -O box
3131
sudo mv ./box /usr/local/bin/box
3232
sudo chmod 755 /usr/local/bin/box
3333
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
@@ -67,4 +67,5 @@ Box needs a Github Access Token to request github api, to retrieve the versions
6767
- `box php <argument>` to run any PHP command via current PHP version of box
6868
- `box composer <argument>` to run any Composer command via box, the version of the composer bin depends on the last executed `get composer` command
6969
- `box php-cs-fixer <argument>` to run any php-cs-fixer command via box, the version of the composer bin depends on the last executed `get php-cs-fixer` command
70+
- `box cs-fix <argument>` to run `php-cs-fix fix` command via box, the version of the composer bin depends on the last executed `get php-cs-fixer` command
7071
- `box version` to dump the current version of the box bin

src/app/Box.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
class Box
1616
{
17-
public const VERSION = '0.0.9';
17+
public const VERSION = '0.1.0';
1818
}

0 commit comments

Comments
 (0)