You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ Box is committed to helping improve the programming experience of Hyperf applica
9
9
You could download the latest builded `box` binary file from Github Actions artifact of this project.
10
10
Click [here](https://github.com/hyperf/box/actions) to download ~
11
11
12
-
Please notice that box **ONLY** supports for **Swow**, but **NOT** Swoole, so your Hyperf application should created by [hyperf/swow-skeleton](https://github.com/hyperf/swow-skeleton) or other else swow skeleton.
12
+
Please notice that the `php` which in box **ONLY** supports for **Swow**, but **NOT** Swoole, so your Hyperf application should created by [hyperf/swow-skeleton](https://github.com/hyperf/swow-skeleton) or other else swow skeleton.
13
+
If you want to use Swoole, please use `swoole-cli` instead of `php` command, also the other PHP proxy commands are invalid.
14
+
Tips: run `box get swoole-cli` to get the latest version swoole-cli..
13
15
14
16
### Usage
15
17
@@ -18,7 +20,7 @@ Please notice that box **ONLY** supports for **Swow**, but **NOT** Swoole, so yo
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in$PATH env that you want
@@ -65,7 +67,7 @@ Box needs a Github Access Token to request github api, to retrieve the versions
65
67
-`box config get-php-version <version>` to get the current PHP version of box
66
68
-`box reverse-proxy -u <upsteamHost:upstreamPort>` to start a reverse proxy HTTP server for the upstream servers
67
69
-`box php <argument>` to run any PHP command via current PHP version of box
68
-
-`box swoole-cli <argument>` to run any command via swoole-cli, since box v0.1.1
70
+
-`box swoole-cli <argument>` to run any command via swoole-cli, since box v0.2.0
69
71
-`box composer <argument>` to run any Composer command via box, the version of the composer bin depends on the last executed `get composer` command
70
72
-`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
71
73
-`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
0 commit comments