forked from fangx-packages/hyperf-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.27 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
{
"name": "fangx/testing",
"description": "hyperf database testing support",
"type": "library",
"keywords": [
"php",
"hyperf",
"sqlite",
"testing"
],
"authors": [
{
"name": "nfangxu",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.2",
"ext-swoole": ">=4.5",
"hyperf/contract": "2.1.*",
"hyperf/db-connection": "2.1.*",
"hyperf/devtool": "2.1.*",
"hyperf/di": "2.1.*",
"hyperf/utils": "2.1.*",
"phpunit/phpunit": "^9.0",
"psr/container": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.9",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"swoole/ide-helper": "^4.5"
},
"suggest": {
"fangx/sqlite-driver": "Required to use sqlite driver for database."
},
"autoload": {
"psr-4": {
"Fangx\\Testing\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Fangx\\Tests\\": "tests/"
}
},
"extra": {
"hyperf": {
"config": "Fangx\\Testing\\ConfigProvider"
}
},
"scripts": {
"analyse": "phpstan analyse --memory-limit 300M -l 0 ./src",
"cs-fix": "php-cs-fixer fix $1",
"test": "./tests/co-phpunit -c phpunit.xml --colors=always"
},
"config": {
"sort-packages": true
},
"license": "MIT"
}