-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathcomposer.json
84 lines (84 loc) · 2.17 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "96qbhy/hyperf-auth",
"description": "hyperf 的 auth 组件",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf",
"hyperf-auth",
"jwt-auth"
],
"autoload": {
"psr-4": {
"Qbhy\\HyperfAuth\\": "src/"
},
"files": [
"src/helper.php"
]
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "tests"
}
},
"require": {
"php": ">=8.1",
"96qbhy/simple-jwt": "^v1.5",
"hyperf/cache": "^3.1",
"hyperf/di": "^3.1",
"ext-json": "*",
"ext-redis": "*"
},
"suggest": {
"ext-redis": "*"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.14",
"hyperf/command": "^3.1",
"hyperf/config": "^3.1",
"hyperf/database": "^3.1",
"hyperf/event": "^3.1",
"hyperf/framework": "^3.1",
"hyperf/redis": "^3.1",
"hyperf/session": "^3.1",
"hyperf/testing": "^3.1",
"hyperf/utils": "^3.1",
"itsgoingd/clockwork": "^5.0",
"phpstan/phpstan": "^0.12",
"swoft/swoole-ide-helper": "dev-master",
"symfony/console": "^5.3",
"symfony/var-dumper": "^5.3"
},
"minimum-stability": "dev",
"config": {
"sort-packages": true
},
"scripts": {
"test": "phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 300M -l 0 ./src",
"cs-fix": "php-cs-fixer fix $1",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hyperf": {
"config": "Qbhy\\HyperfAuth\\ConfigProvider"
},
"hooks": {
"pre-commit": [
"echo committing as $(git config user.name)",
"vendor/bin/php-cs-fixer fix .",
"git add .",
"composer test"
]
}
},
"repositories": {
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
}
}
}