-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
48 lines (48 loc) · 1.01 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
{
"name": "reasno/fastmongo",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf"
],
"description": "mongodb driver via hyperf/gotask",
"autoload": {
"psr-4": {
"Reasno\\Fastmongo\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "tests"
}
},
"require": {
"php": ">=8.1",
"ext-swoole": ">=5.0",
"ext-mongodb": "*",
"hyperf/gotask": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.21",
"phpstan/phpstan": "^1.10",
"hyperf/testing": "^3.0",
"swoole/ide-helper": "^5.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"scripts": {
"test": "co-phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 300M -l 0 ./src",
"cs-fix": "php-cs-fixer fix $1"
},
"bin": ["bin/mongo-proxy-darwin-amd64", "bin/mongo-proxy-linux-amd64"],
"extra": {
"hyperf": {
"config": "Reasno\\Fastmongo\\ConfigProvider"
}
}
}