-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
55 lines (55 loc) · 1.24 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
{
"name": "tangwei/dto",
"description": "php hyperf dto",
"license": "MIT",
"keywords": [
"dto",
"hyperf",
"hyperf dto",
"hyperf swagger"
],
"require": {
"php": ">=8.1",
"netresearch/jsonmapper": "~4.4.1",
"hyperf/http-server": "~3.0.0|~3.1.0",
"hyperf/di": "~3.0.0|~3.1.0",
"hyperf/validation": "~3.0.0|~3.1.0",
"phpdocumentor/reflection-docblock": "^5.0"
},
"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",
"symfony/property-access": "^5.0|^6.0",
"symfony/serializer": "^5.0|^6.0"
},
"autoload": {
"psr-4": {
"Hyperf\\DTO\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\DTO\\": "tests/"
}
},
"extra": {
"hyperf": {
"config": "Hyperf\\DTO\\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"
}
}