-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
70 lines (70 loc) · 1.93 KB
/
composer.json
File metadata and controls
70 lines (70 loc) · 1.93 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
{
"name": "swow/swow",
"description": "Coroutine-based concurrency library for PHP",
"keywords": [
"swow",
"coroutine",
"async",
"event",
"http",
"websocket",
"server",
"client",
"libcat",
"libuv"
],
"license": "Apache-2.0",
"authors": [
{
"name": "twose",
"email": "twosee@php.net"
}
],
"support": {
"issues": "https://github.com/swow/swow"
},
"require": {
"php": ">=7.2",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": ">=8.0"
},
"suggest": {
"ext-swow": "*"
},
"autoload": {
"psr-4": {
"Swow\\": "lib/src/Swow/"
},
"files": [
"lib/src/Swow/functions.php",
"lib/src/Swow/Util/functions.php",
"lib/src/Swow/Util/FileSystem/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"SwowTest\\": "lib/tests/"
}
},
"config": {
"process-timeout": 0,
"sort-packages": true
},
"scripts": {
"cs-check": "/usr/bin/env php vendor/bin/php-cs-fixer fix --dry-run",
"cs-fix": "/usr/bin/env php vendor/bin/php-cs-fixer fix",
"sync-extension": "/usr/bin/env php -n tools/extension/sync.php",
"build-extension": "tools/builder/swow-builder",
"rebuild-extension": "tools/builder/swow-builder --rebuild",
"test-extension": "cd ext && NO_INTERACTION=1 /usr/bin/env php -n run-tests.php -P -d extension=swow $@",
"test-library": "cd lib && /usr/bin/env php -dextension=swow ../vendor/bin/phpunit $@",
"ide-help": "/usr/bin/env php -n -d extension=swow tools/ide-helper/generator.php swow lib/src/Swow.php"
},
"bin": [
"tools/builder/swow-builder"
]
}