-
Notifications
You must be signed in to change notification settings - Fork 258
/
composer.json
45 lines (45 loc) · 1.31 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
{
"name": "louislivi/smproxy",
"description": "A MySQL database connection pool based on MySQL protocol and Swoole.",
"type": "project",
"keywords": ["smproxy", "mysql", "pool", "connection", "database", "swoole"],
"homepage": "https://github.com/louislivi/smproxy",
"license": "MIT",
"authors": [
{
"name": "louislivi",
"email": "574747417@qq.com"
}
],
"require": {
"php": "^7.0",
"psr/log": "~1.0",
"ext-swoole": "^2.1.3||^4.0",
"ext-json": "*",
"ext-openssl": "*",
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.15.0",
"squizlabs/php_codesniffer": "3.4.2",
"humbug/box": "^2.7.5||^3.3",
"eaglewu/swoole-ide-helper": "dev-master"
},
"conflict": {
"ext-xdebug": "*"
},
"autoload": {
"psr-4": {
"SMProxy\\": "src/"
},
"files": [
"src/Helper/functions.php"
]
},
"scripts": {
"post-autoload-dump": [
"@php -r \"file_exists('conf/database.json') || copy('conf/database.json.example', 'conf/database.json');\"",
"@php -r \"file_exists('conf/server.json') || copy('conf/server.json.example', 'conf/server.json');\""
]
}
}