-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
62 lines (62 loc) · 2.17 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
62
{
"name": "15web/sailplay-sdk",
"description": "A PHP SDK for SailPlay HTTP API (https://sailplay.ru/)",
"type": "library",
"keywords": ["sailplay", "sdk"],
"homepage": "https://github.com/15web/sailplay-sdk",
"license": "GPL-2.0-only",
"authors": [
{
"name": "15web",
"email": "info@15web.ru"
}
],
"require": {
"php": ">=7.2.5",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.4",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/log": "^1.1.4",
"psr/simple-cache": "^1.0",
"symfony/cache": "^5.4",
"symfony/property-access": "^5.4",
"symfony/serializer": "^5.4",
"webmozart/assert": "^1.10"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.4",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-strict-rules": "^1.1",
"phpunit/phpunit": "^8.5",
"slevomat/coding-standard": "^7.1",
"squizlabs/php_codesniffer": "^3.6",
"symfony/dotenv": "^5.4"
},
"autoload": {
"psr-4": { "Studio15\\SailPlay\\SDK\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Studio15\\SailPlay\\SDK\\Test\\Unit\\": "tests/unit/" }
},
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"stan": "phpstan analyse -c ./tests/code-quality/phpstan.neon --ansi",
"fixer-check": "php-cs-fixer --config=./tests/code-quality/.php-cs-fixer.php fix --dry-run --diff --ansi -v",
"fixer-fix": "php-cs-fixer --config=./tests/code-quality/.php-cs-fixer.php fix --ansi -v",
"sniffer-check": "phpcs ./src --standard=./tests/code-quality/phpcs.xml -p",
"sniffer-fix": "phpcbf ./src --standard=./tests/code-quality/phpcs.xml -p",
"unit": "phpunit tests",
"check": ["@stan", "@fixer-check", "@sniffer-check", "@unit"],
"fix": ["@fixer-fix", "@sniffer-fix"]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"veewee/composer-run-parallel": true
}
}
}