-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
66 lines (66 loc) · 1.49 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "tangwei/apidocs",
"description": "A swagger library for Hyperf.",
"license": "MIT",
"keywords": [
"php",
"docs",
"hyperf",
"swagger",
"hyperf swagger"
],
"authors": [
{
"name": "TangWei",
"email": "tw2066@163.com",
"homepage": "https://github.com/tw2066",
"role": "Developer"
}
],
"require": {
"php": ">=8.1",
"tangwei/dto": "~3.0.0",
"zircote/swagger-php": "^4.8"
},
"conflict": {
"zircote/swagger-php": "=4.8.7"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": ">=7.0",
"symfony/var-dumper": "^5.1"
},
"suggest": {
"tangwei/knife4j-ui": "It can be as small as a dagger, lightweight, and powerful!",
"tangwei/swagger-ui": "If the Internet cannot be accessed, you are advised to install it"
},
"autoload": {
"psr-4": {
"Hyperf\\ApiDocs\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\ApiDocs\\": "tests/"
}
},
"extra": {
"hyperf": {
"config": "Hyperf\\ApiDocs\\ConfigProvider"
},
"branch-alias": {
"dev-master": "3.0.x-dev"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"test": "phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
"cs-fix": "php-cs-fixer fix src && php-cs-fixer fix tests"
}
}