-
Notifications
You must be signed in to change notification settings - Fork 42
/
composer.json
67 lines (67 loc) · 1.88 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
{
"name": "dtm/dtm-client",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"dtm",
"dtm-client",
"hyperf"
],
"description": "A PHP coroutine client for distributed transaction manager DTM. 分布式事务管理器 DTM 的 PHP 协程客户端",
"autoload": {
"psr-4": {
"DtmClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DtmClientTest\\": "tests"
}
},
"require": {
"php": ">=8.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.4",
"hyperf/context": "^2.2|^3.0|^3.1",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.5"
},
"suggest": {
"hyperf/config": "^2.2|^3.0|^3.1",
"hyperf/db": "^2,2|^3.0|^3.1",
"hyperf/redis": "^2,2|^3.0|^3.1",
"hyperf/di": "^2.2|^3.0|^3.1",
"hyperf/grpc-client": "^2.2|^3.0|^3.1",
"hyperf/rpc-client": "^2.2|^3.0|^3.1",
"hyperf/json-rpc": "^2.2|^3.0|^3.1",
"ext-openssl": "Required to use HTTPS.",
"ext-pdo": "Required to use MySQL Client.",
"ext-pdo_mysql": "Required to use MySQL Client.",
"ext-redis": "Required to use Redis Client."
},
"minimum-stability": "dev",
"prefer-stable": true,
"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 $1"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"hyperf": {
"config": "DtmClient\\ConfigProvider"
}
}
}