-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
82 lines (82 loc) · 2.35 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
{
"name": "heavyrain-php/heavyrain",
"description": "Loadtest/Stresstest tool made with PHP",
"type": "project",
"license": "MIT",
"keywords": [
"loadtest",
"stresstest",
"testing"
],
"homepage": "https://github.com/heavyrain-php/heavyrain/",
"support": {
"issues": "https://github.com/heavyrain-php/heavyrain/issues",
"source": "https://github.com/heavyrain-php/heavyrain/"
},
"bin": [
"bin/heavyrain"
],
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Masaru Yamagishi",
"email": "akai_inu@live.jp"
}
],
"require": {
"php": ">=8.1",
"amphp/amp": "^3.0",
"amphp/http-client": "^5.0.0",
"cebe/php-openapi": "^1.7",
"laminas/laminas-diactoros": "^3.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^2.0",
"symfony/console": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^10.1"
},
"suggest": {
"ext-mbstring": "For more accurate bodyLength",
"ext-uv": "For higher concurrency"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"Heavyrain\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Heavyrain\\Tests\\": "tests/",
"Heavyrain\\": "tests/Unit/"
}
},
"scripts": {
"post-install-cmd": [
"test -f ./phive.phar || curl -fLO https://phar.io/releases/phive.phar",
"php phive.phar install"
],
"sample": "@php -S localhost:8081 -t sample-target-app/public",
"build": "./tools/box compile",
"psalm": "./tools/psalm",
"cs": "./tools/php-cs-fixer fix .",
"test": "@php vendor/bin/phpunit",
"coverage": "XDEBUG_MODE=coverage php vendor/bin/phpunit -d xdebug.mode=coverage --coverage-clover=clover.xml",
"coverage-html": "XDEBUG_MODE=coverage php vendor/bin/phpunit -d xdebug.mode=coverage --coverage-html=vendor/coverage-html",
"coverage-show": "php -S localhost:8082 -t vendor/coverage-html",
"lint": [
"@psalm",
"@cs"
],
"ci": [
"@lint",
"@test"
]
}
}