-
Notifications
You must be signed in to change notification settings - Fork 785
/
composer.json
70 lines (70 loc) · 1.83 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
{
"name": "swoft/swoft",
"type": "project",
"keywords": [
"php",
"swoole",
"swoft"
],
"description": "Modern High performance AOP and Coroutine PHP Framework",
"license": "Apache-2.0",
"require": {
"php": ">7.1",
"ext-pdo": "*",
"ext-redis": "*",
"ext-json": "*",
"ext-simplexml": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"swoft/cache": "~2.0.0",
"swoft/db": "~2.0.0",
"swoft/i18n": "~2.0.0",
"swoft/view": "~2.0.0",
"swoft/task": "~2.0.0",
"swoft/redis": "~2.0.0",
"swoft/framework": "~2.0.0",
"swoft/http-server": "~2.0.0",
"swoft/rpc-client": "~2.0.0",
"swoft/rpc-server": "~2.0.0",
"swoft/websocket-server": "~2.0.0",
"swoft/tcp-server": "~2.0.0",
"swoft/process": "~2.0.0",
"swoft/apollo": "~2.0.0",
"swoft/consul": "~2.0.0",
"swoft/limiter": "~2.0.0",
"swoft/breaker": "~2.0.0",
"swoft/crontab": "~2.0.0",
"swoft/session": "~2.0.0",
"swoft/devtool": "~2.0.0"
},
"require-dev": {
"swoft/swlib": "~2.0.0",
"swoft/swoole-ide-helper": "dev-master",
"phpunit/phpunit": "^7.5 || ^8.0"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\": "database/"
},
"files": [
"app/Helper/Functions.php"
]
},
"autoload-dev": {
"psr-4": {
"AppTest\\Testing\\": "test/testing",
"AppTest\\Unit\\": "test/unit"
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"phpstan": "./vendor/bin/phpstan analyze",
"api-tests": "php test/run.php -c phpunit.xml --testsuite apiTests",
"unit-tests": "php test/run.php -c phpunit.xml --testsuite unitTests",
"check-cs": "./bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff",
"cs-fix": "./bin/php-cs-fixer fix"
}
}