-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·54 lines (54 loc) · 1.36 KB
/
composer.json
File metadata and controls
executable file
·54 lines (54 loc) · 1.36 KB
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
{
"name": "hyperf-plus/validate",
"type": "library",
"keywords": [
"php",
"hyperf-plus",
"validate",
"hyperf"
],
"description": "hyperf-plus validate 基于 hyperf/validation 的路由验证适配器,支持注解式验证",
"license": "Apache-2.0",
"require": {
"php": ">=8.1",
"hyperf/di": "^3.1.0",
"hyperf/http-message": "^3.1.0",
"hyperf/utils": "^3.1.0",
"hyperf/validation": "^3.1.0",
"hyperf/translation": "^3.1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.5",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.0"
},
"suggest": {
"ext-json": "Required to use JSON.",
"ext-swoole": "Required to use Swoole coroutine features for better performance."
},
"autoload": {
"psr-4": {
"HPlus\\Validate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HPlus\\Validate\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit -c phpunit.xml --colors=always",
"test-coverage": "phpunit -c phpunit.xml --colors=always --coverage-html tests/coverage",
"cs-fix": "php-cs-fixer fix --config=.php-cs-fixer.php",
"analyse": "phpstan analyse --memory-limit 1024M -l 5 -c phpstan.neon ./src"
},
"extra": {
"hyperf": {
"config": "HPlus\\Validate\\ConfigProvider"
}
},
"config": {
"sort-packages": true
}
}