-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
82 lines (82 loc) · 2.87 KB
/
composer.json
File metadata and controls
82 lines (82 loc) · 2.87 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
79
80
81
82
{
"name": "utopia-php/async",
"description": "High-performance concurrent + parallel library with Promise and Parallel execution support for PHP.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Appwrite Team",
"email": "team@appwrite.io"
}
],
"require": {
"php": ">=8.1",
"opis/closure": "4.*"
},
"require-dev": {
"amphp/amp": "3.*",
"amphp/parallel": "2.*",
"amphp/process": "^2.0",
"laravel/pint": "1.*",
"phpstan/phpstan": "2.*",
"phpunit/phpunit": "11.5.45",
"react/child-process": "0.*",
"react/event-loop": "1.*",
"swoole/ide-helper": "*"
},
"suggest": {
"ext-swoole": "Required for Swoole Thread and Process adapters (recommended for best performance)",
"ext-sockets": "Required for Swoole Process adapter",
"ext-parallel": "Required for parallel adapter (requires PHP ZTS build)",
"ext-ev": "Required for ReactPHP event loop (recommended for best performance)",
"amphp/amp": "Required for Amp promise adapter",
"amphp/parallel": "Required for Amp parallel adapter",
"react/event-loop": "Required for ReactPHP promise and parallel adapters",
"react/child-process": "Required for ReactPHP parallel adapter"
},
"autoload": {
"psr-4": {
"Utopia\\Async\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Utopia\\Tests\\": "tests/"
}
},
"scripts": {
"test-unit": "vendor/bin/phpunit tests/Unit --exclude-group no-swoole",
"test-promise-sync": "vendor/bin/phpunit tests/E2e/Promise/SyncTest.php",
"test-promise-swoole": "vendor/bin/phpunit tests/E2e/Promise/Swoole",
"test-promise-amp": "vendor/bin/phpunit tests/E2e/Promise/Amp",
"test-promise-react": "vendor/bin/phpunit tests/E2e/Promise/React",
"test-parallel-sync": "vendor/bin/phpunit tests/E2e/Parallel/Sync",
"test-parallel-swoole-thread": "vendor/bin/phpunit tests/E2e/Parallel/Swoole/ThreadTest.php",
"test-parallel-swoole-process": "vendor/bin/phpunit tests/E2e/Parallel/Swoole/ProcessTest.php",
"test-parallel-amp": "vendor/bin/phpunit tests/E2e/Parallel/Amp",
"test-parallel-react": "vendor/bin/phpunit tests/E2e/Parallel/React",
"test-parallel-ext": "php -n -d extension=parallel.so -d extension=sockets.so vendor/bin/phpunit tests/E2e/Parallel/Parallel",
"test-e2e": "vendor/bin/phpunit tests/E2e --exclude-group ext-parallel",
"test": [
"@test-unit",
"@test-e2e",
"@test-parallel-ext"
],
"lint": "vendor/bin/pint",
"format": "php -d memory_limit=4G vendor/bin/pint",
"check": "vendor/bin/phpstan analyse src tests --level=max --memory-limit=4G"
},
"config": {
"platform": {
"php": "8.4"
},
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true,
"tbachert/spi": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}