forked from hyperf/metric
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
90 lines (90 loc) · 2.82 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
85
86
87
88
89
90
{
"name": "hyperf/metric",
"license": "MIT",
"keywords": [
"php",
"hyperf",
"prometheus",
"statsd",
"metrics",
"influxdb"
],
"description": "Drop-in replacement for the Hyperf Metric component.",
"require": {
"php": ">=8.1",
"hyperf/codec": "~3.1.0",
"hyperf/contract": "~3.1.0",
"hyperf/engine": "^2.3",
"hyperf/guzzle": "~3.1.0",
"hyperf/support": "~3.1.0",
"hyperf/utils": "~3.1.0",
"psr/container": "^1.0|^2.0",
"promphp/prometheus_client_php": "^2.7",
"psr/event-dispatcher": "^1.0",
"psr/http-message": "^1.0|^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.21",
"hyperf/async-queue": "^3.0",
"hyperf/config": "^3.0",
"hyperf/db-connection": "^3.0",
"hyperf/di": "^3.0",
"hyperf/event": "^3.0",
"hyperf/framework": "^3.0",
"hyperf/process": "^3.0",
"hyperf/redis": "^3.0",
"hyperf/testing": "^3.0",
"influxdb/influxdb-php": "^1.15",
"mockery/mockery": "^1.6",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-mockery": "^1.1",
"rector/rector": "^0.17.5",
"slickdeals/statsd": "^3.1",
"swoole/ide-helper": "^5.0"
},
"suggest": {
"influxdb/influxdb-php": "Required to use InfluxDB driver.",
"hyperf/di": "Required to use annotations.",
"hyperf/event": "Required to use listeners for default metrics.",
"hyperf/process": "Required to use standalone process, or you have to roll your own",
"hyperf/retry": "Required to use back-off retry implementation.",
"hyperf/http-server": "Required to capture routes in middleware.",
"promphp/prometheus_client_php": "Required to use Prometheus driver.(2.2.*)",
"slickdeals/statsd": "Required to use StatdD driver."
},
"autoload": {
"psr-4": {
"Hyperf\\Metric\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\Metric\\": "tests/"
}
},
"scripts": {
"test": "co-phpunit",
"test-coverage": "co-phpunit --coverage-clover clover.xml",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit=-1 -l 5 -c phpstan.neon",
"rector": "rector process --clear-cache"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
},
"hyperf": {
"config": "Hyperf\\Metric\\ConfigProvider"
}
}
}