-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
51 lines (51 loc) · 1.19 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
{
"name": "meshell/surf",
"type": "framework",
"keywords": ["framework", "micro", "swoole-framework", "micro-swoole-framework", "micro-swoole-api"],
"license": "MIT",
"authors": [
{
"name": "Tianliang Zhou",
"email": "[email protected]",
"homepage": "https://loocode.com"
}
],
"require": {
"php": ">=7",
"ext-swoole": "~2.0",
"nikic/fast-route": "^1.2",
"pimple/pimple": "^3.0",
"symfony/event-dispatcher": "^4.0",
"zendframework/zend-diactoros": "^1.7"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.3",
"phpunit/phpunit": "^6.0.0",
"squizlabs/php_codesniffer": "^2.5",
"eaglewu/swoole-ide-helper": "dev-master",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload":{
"psr-4": {
"Surf\\": "src/Surf"
}
},
"autoload-dev": {
"psr-4": {
"Surf\\Test\\": "tests/Surf",
"Surf\\Examples\\": "examples"
}
},
"scripts": {
"format": [
"@fixer"
],
"test": [
"@phpunit",
"@phpcs"
],
"phpunit": "vendor/bin/phpunit --coverage-clover clover.xml",
"phpcs": "vendor/bin/phpcs",
"fixer": "vendor/bin/php-cs-fixer fix ./src --rules=@PSR2"
}
}