This repository was archived by the owner on Dec 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
72 lines (72 loc) · 2.11 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": "openswoole/library",
"description": "Library of Open Swoole",
"keywords": [
"swoole",
"openswoole",
"library"
],
"license": "Apache-2.0",
"authors": [
{
"name": "Swoole Development Group",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/openswoole/library"
},
"require": {
"php": ">=7.2",
"ext-openswoole": ">=4.6"
},
"require-dev": {
"ext-curl": "*",
"ext-sockets": "*",
"phpunit/phpunit": "~8.0",
"openswoole/ide-helper": "~4.8",
"friendsofphp/php-cs-fixer": "^3.4"
},
"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"
},
"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/openswoole/ide-helper/output/swoole_library"
],
"post-update-cmd" : [
"rm -rf ./vendor/openswoole/ide-helper/output/swoole_library"
]
}
}