Skip to content

Commit

Permalink
Merge pull request #62 from huangzhhui/release-v0.5.3
Browse files Browse the repository at this point in the history
Update version number to v0.5.3
  • Loading branch information
huangzhhui authored Oct 16, 2022
2 parents 5313c2b + 24f9253 commit 011796f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
10 changes: 7 additions & 3 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Box 致力于帮助提升 PHP 应用程序的编程体验,尤其有助于 Hype
##### Mac

```bash
wget https://github.com/hyperf/box/releases/download/v0.5.2/box_x86_64_macos -O box
wget https://github.com/hyperf/box/releases/download/v0.5.3/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 @@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
##### Linux x86_64

```bash
wget https://github.com/hyperf/box/releases/download/v0.5.2/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.5.3/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 All @@ -41,7 +41,7 @@ sudo chmod 755 /usr/local/bin/box
##### Windows

```powershell
curl -o box.exe https://github.com/hyperf/box/releases/download/v0.5.2/box_x64_windows.exe
curl -o box.exe https://github.com/hyperf/box/releases/download/v0.5.3/box_x64_windows.exe
// 将 `box.exe` 放到你想要的任意 Path 环境变量路径中,同时 Windows 版本在执行时需要在命令行中使用 `box.exe` 而不是 `box`
```

Expand Down Expand Up @@ -86,3 +86,7 @@ box config set kernel swoole
- `box phpstan <argument>` 通过当前 box 的 PHP 版本运行任何 `phpstan` 命令,composer bin 的版本取决于最后执行的 `get phpstan` 命令,此命令仅在 box v0.3.0 及以上的版本中可用
- `box pint <argument>` 通过当前 box 的 PHP 版本运行任何 `pint` 命令,composer bin 的版本取决于最后执行的 `get pint` 命令,此命令仅在 box v0.3.0 及以上的版本中可用
- `box version` 输出当前 box bin 的版本号

### 关于 Swow-Skeleton

希望体验 Box 完整功能的朋友,需要通过 Swow Kernel 来运行,因此您需要基于 [hyperf/swow-skeleton](https://github.com/hyperf/swow-skeleton) 来运行您的项目,可通过 `box composer create-project hyperf/swow-skeleton:dev-master` 命令来创建一个基于 Hyperf 3.0 RC 版的 Swow 骨架项目。
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Box is committed to helping improve the programming experience of PHP applicatio
##### Mac

```bash
wget https://github.com/hyperf/box/releases/download/v0.5.2/box_x86_64_macos -O box
wget https://github.com/hyperf/box/releases/download/v0.5.3/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 @@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
##### Linux x86_64

```bash
wget https://github.com/hyperf/box/releases/download/v0.5.2/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.5.3/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 All @@ -41,7 +41,7 @@ sudo chmod 755 /usr/local/bin/box
##### Windows

```powershell
curl -o box.exe https://github.com/hyperf/box/releases/download/v0.5.2/box_x64_windows.exe
curl -o box.exe https://github.com/hyperf/box/releases/download/v0.5.3/box_x64_windows.exe
// Put `box.exe` into any path in $PATH env that you want, and use `box.exe` instead of `box` when executing on Windows
```

Expand Down Expand Up @@ -86,3 +86,11 @@ box config set kernel swoole
- `box phpstan <argument>` to run any `phpstan` command via box, the version of the composer bin depends on the last executed `get phpstan` command, since box v0.3.0
- `box pint <argument>` to run any `pint` command via box, the version of the composer bin depends on the last executed `get pint` command, since box v0.3.0
- `box version` to dump the current version of the box bin

### 关于 Swow-Skeleton

希望体验 Box 完整功能的朋友,需要通过 Swow Kernel 来运行,因此您需要基于 [hyperf/swow-skeleton](https://github.com/hyperf/swow-skeleton) 来运行您的项目,可通过 `box composer create-project hyperf/swow-skeleton:dev-master` 来创建一个基于 Hyperf 3.0 RC 版的 Swow 骨架项目。

### About Swow Skeleton

If you want to experience the full features of Box, you need to run it based on the Swow Kernel, so you need to base your project on [hyperf/swow-skeleton](https://github.com/hyperf/swow-skeleton) to run your project, you can create a Swow skeleton project based on Hyperf 3.0 RC version by `box composer create-project hyperf/swow-skeleton:dev-master` command.
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.5.2';
public const VERSION = '0.5.3';
}

0 comments on commit 011796f

Please sign in to comment.