Commit e81d6570 authored by nahakyuu's avatar nahakyuu

update composer.lock & readme.md

parent 74f2700d
...@@ -30,13 +30,7 @@ bash ./bot/bot_enable.sh ...@@ -30,13 +30,7 @@ bash ./bot/bot_enable.sh
## 开发注意 ## 开发注意
1. 使用`composer install`安装依赖 1. 使用`composer install`安装依赖
2. `./yii serve`命令在windows下会报错,[原因点我](https://github.com/yiisoft/yii-console/issues/175),临时解决方案 2. 可以使用`./yii serve`来启动开发版服务器
找到`vendor\yiisoft\yii-console\src\Command\Serve.php`文件,修改第138行中的`'PHP_CLI_SERVER_WORKERS=' . $workers .`部分,变成以下代码
```php
passthru('"' . PHP_BINARY . '"' . " -S $address -t \"$documentRoot\" $router");
```
3. 修改`config/configuration.php`之后一定要运行`composer du`来重新生成`.merge-plan.php` 3. 修改`config/configuration.php`之后一定要运行`composer du`来重新生成`.merge-plan.php`
4. 目前只加入了`src``config`文件夹,demo文件见`C:\git\phpdts\src\Controller\HomeController.php` 4. 目前只加入了`src``config`文件夹,demo文件见`C:\git\phpdts\src\Controller\HomeController.php`
5. 可以使用[Yii Dev Panel](https://yiisoft.github.io/yii-dev-panel)来调试 5. 可以使用[Yii Dev Panel](https://yiisoft.github.io/yii-dev-panel)来调试
......
...@@ -4423,16 +4423,16 @@ ...@@ -4423,16 +4423,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v6.2.7", "version": "v6.2.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45" "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45", "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b",
"reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45", "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4494,12 +4494,12 @@ ...@@ -4494,12 +4494,12 @@
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"keywords": [ "keywords": [
"cli", "cli",
"command line", "command-line",
"console", "console",
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v6.2.7" "source": "https://github.com/symfony/console/tree/v6.2.8"
}, },
"funding": [ "funding": [
{ {
...@@ -4515,7 +4515,7 @@ ...@@ -4515,7 +4515,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-25T17:00:03+00:00" "time": "2023-03-29T21:42:15+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
...@@ -4894,16 +4894,16 @@ ...@@ -4894,16 +4894,16 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v6.2.7", "version": "v6.2.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902" "reference": "75ed64103df4f6615e15a7fe38b8111099f47416"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902", "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416",
"reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902", "reference": "75ed64103df4f6615e15a7fe38b8111099f47416",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4935,7 +4935,7 @@ ...@@ -4935,7 +4935,7 @@
"description": "Executes commands in sub-processes", "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/process/tree/v6.2.7" "source": "https://github.com/symfony/process/tree/v6.2.8"
}, },
"funding": [ "funding": [
{ {
...@@ -4951,7 +4951,7 @@ ...@@ -4951,7 +4951,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-24T10:42:00+00:00" "time": "2023-03-09T16:20:02+00:00"
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
...@@ -5040,16 +5040,16 @@ ...@@ -5040,16 +5040,16 @@
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v6.2.7", "version": "v6.2.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "67b8c1eec78296b85dc1c7d9743830160218993d" "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef",
"reference": "67b8c1eec78296b85dc1c7d9743830160218993d", "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5106,7 +5106,7 @@ ...@@ -5106,7 +5106,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v6.2.7" "source": "https://github.com/symfony/string/tree/v6.2.8"
}, },
"funding": [ "funding": [
{ {
...@@ -5122,7 +5122,7 @@ ...@@ -5122,7 +5122,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-24T10:42:00+00:00" "time": "2023-03-20T16:06:02+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
...@@ -5934,16 +5934,16 @@ ...@@ -5934,16 +5934,16 @@
}, },
{ {
"name": "yiisoft/yii-console", "name": "yiisoft/yii-console",
"version": "2.0.0", "version": "2.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/yiisoft/yii-console.git", "url": "https://github.com/yiisoft/yii-console.git",
"reference": "783e08add57abc6090a12ae52608f2fe856bd425" "reference": "55de5e6d3bcfccfc5fd6f39379ef192e142f7712"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii-console/zipball/783e08add57abc6090a12ae52608f2fe856bd425", "url": "https://api.github.com/repos/yiisoft/yii-console/zipball/55de5e6d3bcfccfc5fd6f39379ef192e142f7712",
"reference": "783e08add57abc6090a12ae52608f2fe856bd425", "reference": "55de5e6d3bcfccfc5fd6f39379ef192e142f7712",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -6011,7 +6011,7 @@ ...@@ -6011,7 +6011,7 @@
"type": "opencollective" "type": "opencollective"
} }
], ],
"time": "2023-02-17T10:42:22+00:00" "time": "2023-03-31T08:30:43+00:00"
}, },
{ {
"name": "yiisoft/yii-debug", "name": "yiisoft/yii-debug",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment