-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 2.5 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 2.5 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "pivotphp/reactphp",
"description": "ReactPHP integration for PivotPHP - Stable continuous runtime execution for high-performance APIs",
"version": "0.1.0",
"type": "library",
"license": "MIT",
"keywords": [
"pivotphp",
"reactphp",
"async",
"event-loop",
"http-server",
"performance"
],
"authors": [
{
"name": "PivotPHP Team",
"homepage": "https://github.com/PivotPHP"
}
],
"require": {
"php": "^8.1",
"pivotphp/core": "^1.1.0",
"react/http": "^1.9",
"react/socket": "^1.14",
"react/event-loop": "^1.5",
"react/promise": "^3.1",
"react/stream": "^1.3",
"psr/http-message": "^1.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"symfony/console": "^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"nikic/php-parser": "^5.5",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^10.0",
"react/async": "^4.2",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
"PivotPHP\\ReactPHP\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PivotPHP\\ReactPHP\\Tests\\": "tests/"
}
},
"scripts": {
"test": "XDEBUG_MODE=coverage vendor/bin/phpunit",
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html coverage",
"test:performance": "vendor/bin/phpunit -c phpunit-performance.xml",
"test:benchmark": "vendor/bin/phpunit -c phpunit-performance.xml --group=benchmark",
"test:stress": "vendor/bin/phpunit -c phpunit-performance.xml --group=stress",
"test:long-running": "vendor/bin/phpunit -c phpunit-performance.xml --group=long-running",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"cs:check": "vendor/bin/phpcs --standard=PSR12 src tests",
"cs:fix": "vendor/bin/phpcbf --standard=PSR12 src tests",
"quality:check": [
"@cs:check",
"@phpstan",
"@test"
],
"server:start": "php examples/server.php"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": "dist"
},
"minimum-stability": "stable",
"prefer-stable": true
}