-
Notifications
You must be signed in to change notification settings - Fork 60
/
composer.json
121 lines (121 loc) · 4.52 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "retailcrm/api-client-php",
"description": "PHP client for RetailCRM API",
"type": "library",
"keywords": [
"API",
"RetailCRM",
"REST"
],
"homepage": "http://www.retailcrm.pro/",
"license": "MIT",
"authors": [
{
"name": "RetailCRM",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.3",
"ext-json": "*",
"psr/log": "^1|^2|^3",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/http-message-implementation": "^1.0",
"php-http/client-implementation": "^1.0",
"php-http/discovery": "^1.13",
"doctrine/annotations": "^1.13|^2.0",
"liip/serializer": "2.2.* || 2.6.*",
"php-http/httplug": "^2.2",
"civicrm/composer-compile-plugin": "^0.20",
"symfony/console": "^4.0|^5.0|^6.0|^7.0",
"psr/event-dispatcher": "^1.0",
"neur0toxine/psr.http-client-implementation.php-http-curl": "*",
"neur0toxine/psr.http-factory-implementation.nyholm": "*",
"neur0toxine/psr.http-message-implementation.nyholm": "*",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"symfony/cache": ">=v3.1.0",
"psr/http-factory": "^1.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpmd/phpmd": "^2.10",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "1.9.14",
"vlucas/phpdotenv": "^5.3",
"phpunit/phpunit": "^9.5",
"php-http/curl-client": "^2.2",
"nyholm/psr7": "^1.3",
"league/event": "^3.0",
"league/container": "^3.3",
"neur0toxine/pock": "^0.11"
},
"suggest": {
"ext-curl": "Most HTTP clients need ext-curl to work properly.",
"php-http/client-implementation": "PSR-18 compatible client should be available to use this library.",
"psr/http-message-implementation": "PSR-7 compatible HTTP message implementation should be available to use to use this library.",
"psr/http-factory-implementation": "PSR-17 compatible factories should be available to use this library.",
"symfony/event-dispatcher": "PSR-14 compatible event dispatcher.",
"league/event": "PSR-14 compatible event dispatcher.",
"nyholm/psr7": "This is recommended PSR-7 and PSR-17 implementation.",
"php-http/curl-client": "Simplest PSR-18 client implementation.",
"symfony/http-client": "One of the most popular HTTP clients. Has PSR-18 compatible adapter.",
"psr/log-implementation": "You can use log implementation for debug purposes."
},
"scripts": {
"phpunit": "./vendor/bin/phpunit -c phpunit.xml.dist --coverage-text",
"phpunit-ci": "@php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/phpunit --teamcity -c phpunit.xml.dist",
"phpmd": "./vendor/bin/phpmd src text ./phpmd.xml",
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.3-8.3 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.3-8.3 --warning-severity=0",
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
"phpstan-dockerized-ci": "docker run --rm -it -w=/app -v ${PWD}:/app oskarstark/phpstan-ga:1.0.1 analyse src -c phpstan.neon --memory-limit=1G --no-progress",
"lint:fix": "./vendor/bin/phpcbf src",
"lint": [
"@phpcs",
"@phpmd",
"@phpstan"
],
"verify": [
"@lint",
"@phpunit"
],
"models": "@php bin/retailcrm-client models:generate --all"
},
"support": {
"email": "[email protected]"
},
"autoload": {
"psr-4": {
"RetailCrm\\Api\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RetailCrm\\TestUtils\\": "tests/utils/",
"RetailCrm\\Tests\\": "tests/src/"
}
},
"bin": [
"bin/retailcrm-client"
],
"extra": {
"branch-alias": {
"dev-master": "6.x-dev"
},
"compile": [
{
"run": "@composer run-script models"
}
]
},
"config": {
"bin-dir": "vendor/bin",
"process-timeout": 600,
"allow-plugins": {
"civicrm/composer-compile-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
}
}
}