Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
phpdts
Commits
e81d6570
Commit
e81d6570
authored
Apr 01, 2023
by
nahakyuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update composer.lock & readme.md
parent
74f2700d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
31 deletions
+25
-31
README.md
README.md
+1
-7
composer.lock
composer.lock
+24
-24
No files found.
README.md
View file @
e81d6570
...
@@ -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
)
来调试
...
...
composer.lock
View file @
e81d6570
...
@@ -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-0
2-25T17:00:03
+00:00"
"time": "2023-0
3-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-0
2-24T10:42:00
+00:00"
"time": "2023-0
3-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-0
2-24T10:42:00
+00:00"
"time": "2023-0
3-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-0
2-17T10:42:22
+00:00"
"time": "2023-0
3-31T08:30:43
+00:00"
},
},
{
{
"name": "yiisoft/yii-debug",
"name": "yiisoft/yii-debug",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment