-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
70 lines (70 loc) · 1.93 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
63
64
65
66
67
68
69
70
{
"name": "scn/deepl-api-connector",
"homepage": "https://github.com/SC-Networks/deepl-api-connector",
"description": "Unofficial PHP Client for the API of deepl.com",
"license": "MIT",
"type": "library",
"keywords": [
"translation",
"deepl"
],
"authors": [
{
"name": "Sascha Nützel",
"homepage": "https://www.sc-networks.com"
},
{
"name": "Daniel Jakob",
"homepage": "https://www.sc-networks.com"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"php-http/discovery": "^1.13",
"php-http/multipart-stream-builder": "^1.1",
"psr/http-factory": "^1.0"
},
"require-dev": {
"php": "^8.2",
"friendsofphp/php-cs-fixer": "^3.5",
"guzzlehttp/guzzle": "^7.0",
"nyholm/psr7": "^1.4",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-mockery": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
"phpunit/phpunit": "^11",
"rector/rector": "^1.0"
},
"autoload": {
"psr-4": {
"Scn\\DeeplApiConnector\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Scn\\DeeplApiConnector\\": "tests/"
}
},
"scripts": {
"qa": [
"@composer rector:dry-run",
"@composer check-cs",
"@composer stan",
"@composer tests"
],
"coverage": "XDEBUG_MODE=coverage phpunit --coverage-html build/coverage -c phpunit.xml.dist",
"tests": "phpunit -c phpunit.xml.dist",
"stan": "phpstan",
"check-cs": "php-cs-fixer fix --dry-run --diff",
"fix-cs": "php-cs-fixer fix",
"rector:dry-run": ["rector process -n"],
"rector:fix": ["rector process"]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": false
}
}
}