forked from swoole/library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.23 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
{
"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": ">=7.2",
"ext-swoole": ">=4.6"
},
"require-dev": {
"ext-sockets": "*",
"ext-json": "*",
"ext-redis": "*",
"ext-curl": "*",
"phpunit/phpunit": "~8.0",
"swoole/ide-helper": "~4.6",
"friendsofphp/php-cs-fixer": "^3.0"
},
"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": {
"cs-check": "/usr/bin/env php -d swoole.enable_library=Off ./vendor/bin/php-cs-fixer fix --dry-run",
"cs-fix": "/usr/bin/env php -d swoole.enable_library=Off ./vendor/bin/php-cs-fixer fix",
"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"
]
}
}