Skip to content

Commit 82520f1

Browse files
committed
2 parents cb74d10 + 3dd4a24 commit 82520f1

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Laravel
1+
name: ThinkPHP
22

33
on: [push]
44

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ ThinkPHP Skeleton
33

44
> 运行环境要求PHP7.1+。
55
6+
### 创建项目
7+
8+
```
9+
$ composer create-project xiaodi/think-skeleton
10+
```
11+
612
### 安装
713
```sh
814
$ composer i

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"thinkphp",
88
"ORM"
99
],
10+
"minimum-stability": "dev",
1011
"homepage": "http://thinkphp.cn/",
1112
"license": "Apache-2.0",
1213
"authors": [
@@ -21,8 +22,8 @@
2122
"topthink/think-orm": "^2.0",
2223
"topthink/think-annotation": "^1.0",
2324
"xiaodi/think-whoops": "^1.1",
24-
"xiaodi/think-permission": "^0.5.0",
25-
"xiaodi/think-jwt": "^0.5.0"
25+
"xiaodi/think-jwt": "0.5.*",
26+
"xiaodi/think-permission": "0.5.*"
2627
},
2728
"require-dev": {
2829
"symfony/var-dumper": "^4.2",
@@ -44,7 +45,7 @@
4445
},
4546
"scripts": {
4647
"start": "php think run",
47-
"analyze": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app",
48+
"analyze": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./route",
4849
"post-autoload-dump": [
4950
"@php think service:discover",
5051
"@php think vendor:publish"

0 commit comments

Comments
 (0)