Skip to content

Commit

Permalink
Merge pull request #35 from huangzhhui/release-v0.1.0
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
huangzhhui authored Oct 4, 2022
2 parents c1dcb55 + 5bfc731 commit 69daaae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Box 致力于帮助提升 Hyperf 应用程序的编程体验,管理 PHP 环境
##### Mac

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

```bash
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_linux -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
Expand Down Expand Up @@ -66,5 +66,6 @@ Box 需要一个 Github 访问令牌来请求 Github API,以检索包的版本
- `box reverse-proxy -u <upsteamHost:upstreamPort>` 启动一个反向代理 HTTP 服务器,用于将 HTTP 请求转发到指定的多个上游服务器
- `box php <argument>` 通过当前 box 的 PHP 版本运行任何 PHP 命令
- `box composer <argument>`通过当前 box 的 PHP 版本运行任何 Composer 命令,composer bin 的版本取决于最后执行的`get composer`命令
- `box php-cs-fixer <argument>` 通过当前 box 的 PHP 版本运行任何 php-cs-fixer 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
- `box php-cs-fixer <argument>` 通过当前 box 的 PHP 版本运行任何 `php-cs-fixer` 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
- `box cs-fix <argument>` 通过当前 box 的 PHP 版本运行 `php-cs-fixer fix` 命令,composer bin 的版本取决于最后执行的 `get php-cs-fixer` 命令
- `box version` 输出当前 box bin 的版本号
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please notice that box **ONLY** supports for **Swow**, but **NOT** Swoole, so yo
##### Mac

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

```bash
wget https://github.com/hyperf/box/releases/download/v0.0.9/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.1.0/box_x86_64_linux -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
Expand Down Expand Up @@ -67,4 +67,5 @@ Box needs a Github Access Token to request github api, to retrieve the versions
- `box php <argument>` to run any PHP command via current PHP version of box
- `box composer <argument>` to run any Composer command via box, the version of the composer bin depends on the last executed `get composer` command
- `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
- `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
- `box version` to dump the current version of the box bin
2 changes: 1 addition & 1 deletion src/app/Box.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

class Box
{
public const VERSION = '0.0.9';
public const VERSION = '0.1.0';
}

0 comments on commit 69daaae

Please sign in to comment.