-
Notifications
You must be signed in to change notification settings - Fork 57
/
composer.json
72 lines (72 loc) · 2.04 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
{
"name": "swoole/library",
"description": "Library of Swoole",
"keywords": [
"swoole",
"library"
],
"license": "Apache-2.0",
"authors": [
{
"name": "Swoole Team",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/swoole/library"
},
"require": {
"php": ">=8.1",
"ext-swoole": ">=5.1",
"nikic/php-parser": "^5.2"
},
"require-dev": {
"ext-sockets": "*",
"ext-json": "*",
"ext-redis": "*",
"ext-curl": "*",
"phpunit/phpunit": "~10.0 || ~11.0",
"swoole/ide-helper": "dev-master"
},
"suggest": {
"ext-mysqli": "Required to use mysqli database",
"ext-pdo": "Required to use pdo database",
"ext-redis": "Required to use redis database, and the required version is greater than or equal to 3.1.3",
"ext-curl": "Required to use http client"
},
"autoload": {
"files": [
"src/constants.php",
"src/core/Coroutine/functions.php",
"src/core/Coroutine/Http/functions.php",
"src/std/exec.php",
"src/ext/curl.php",
"src/ext/sockets.php",
"src/functions.php",
"src/alias.php",
"src/alias_ns.php",
"src/vendor_init.php"
],
"psr-4": {
"Swoole\\": "src/core"
}
},
"autoload-dev": {
"classmap": [
"tests/DatabaseTestCase.php",
"tests/HookFlagsTrait.php"
]
},
"config": {
"discard-changes": true
},
"scripts": {
"test": "/usr/bin/env php -d swoole.enable_library=Off ./vendor/bin/phpunit",
"post-install-cmd": [
"rm -rf ./vendor/swoole/ide-helper/src/swoole_library ./vendor/swoole/ide-helper/output/swoole_library"
],
"post-update-cmd": [
"rm -rf ./vendor/swoole/ide-helper/src/swoole_library ./vendor/swoole/ide-helper/output/swoole_library"
]
}
}