-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
53 lines (53 loc) · 1.32 KB
/
composer.json
File metadata and controls
53 lines (53 loc) · 1.32 KB
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
{
"name": "yunion/cloudpods-php-sdk",
"description": "PHP SDK for Cloudpods API",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Yunion Team",
"email": "dev@yunion.io"
}
],
"require": {
"php": ">=7.4",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "^3.7",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"Yunion\\Cloudpods\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yunion\\Cloudpods\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"test-coverage": "phpunit --coverage-html coverage",
"phpstan": "phpstan analyse",
"phpcs": "phpcs --standard=PSR12 src/ examples/",
"phpcbf": "phpcbf --standard=PSR12 src/ examples/",
"lint": "find src/ examples/ -name '*.php' -exec php -l {} \\;",
"check": [
"@lint",
"@phpstan",
"@phpcs"
]
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "stable",
"prefer-stable": true
}