2013-07-04 11:57:37 +04:00
|
|
|
{
|
2014-11-06 02:44:52 +03:00
|
|
|
"name": "retailcrm/api-client-php",
|
2020-12-15 13:32:52 +03:00
|
|
|
"description": "PHP client for RetailCRM API",
|
2013-07-04 11:57:37 +04:00
|
|
|
"type": "library",
|
2021-06-02 17:00:32 +03:00
|
|
|
"keywords": [
|
|
|
|
"API",
|
|
|
|
"RetailCRM",
|
|
|
|
"REST"
|
|
|
|
],
|
2020-12-15 13:32:52 +03:00
|
|
|
"homepage": "http://www.retailcrm.pro/",
|
2016-03-12 01:54:33 +03:00
|
|
|
"license": "MIT",
|
2013-07-04 11:57:37 +04:00
|
|
|
"authors": [
|
|
|
|
{
|
2020-12-15 13:32:52 +03:00
|
|
|
"name": "RetailCRM",
|
|
|
|
"email": "support@retailcrm.pro"
|
2013-07-04 11:57:37 +04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
2021-06-02 17:00:32 +03:00
|
|
|
"php": ">=7.3.0",
|
2019-08-30 14:10:52 +03:00
|
|
|
"ext-json": "*",
|
2021-12-16 17:06:14 +03:00
|
|
|
"psr/log": "^1|^2|^3",
|
2021-06-02 17:00:32 +03:00
|
|
|
"psr/http-client": "^1.0",
|
2024-03-11 13:00:53 +03:00
|
|
|
"psr/http-message": "^1.0 || ^2.0",
|
2021-06-02 17:00:32 +03:00
|
|
|
"psr/http-message-implementation": "^1.0",
|
|
|
|
"php-http/client-implementation": "^1.0",
|
|
|
|
"php-http/message-factory": "^1.0",
|
|
|
|
"php-http/discovery": "^1.13",
|
2023-11-15 16:10:03 +03:00
|
|
|
"doctrine/annotations": "^1.13|^2.0",
|
2023-02-27 16:08:34 +03:00
|
|
|
"liip/serializer": "2.2.*",
|
2021-06-02 17:00:32 +03:00
|
|
|
"php-http/httplug": "^2.2",
|
2022-04-06 14:25:28 +03:00
|
|
|
"civicrm/composer-compile-plugin": "^0.18.0",
|
2021-12-16 17:06:14 +03:00
|
|
|
"symfony/console": "^4.0|^5.0|^6.0",
|
2021-06-02 17:00:32 +03:00
|
|
|
"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"
|
2017-03-07 12:23:20 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2021-06-02 17:00:32 +03:00
|
|
|
"squizlabs/php_codesniffer": "^3.5",
|
|
|
|
"phpmd/phpmd": "^2.10",
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
|
|
|
"phpcompatibility/php-compatibility": "^9.3",
|
2023-02-27 16:08:34 +03:00
|
|
|
"phpstan/phpstan": "1.9.14",
|
2021-06-02 17:00:32 +03:00
|
|
|
"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",
|
2022-04-06 14:25:28 +03:00
|
|
|
"neur0toxine/pock": "^0.11"
|
2021-06-02 17:00:32 +03:00
|
|
|
},
|
|
|
|
"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",
|
2023-02-27 16:08:34 +03:00
|
|
|
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.3-8.2 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.3-8.2 --warning-severity=0",
|
2021-06-02 17:00:32 +03:00
|
|
|
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
|
2022-02-17 13:50:36 +03:00
|
|
|
"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",
|
2021-06-02 17:00:32 +03:00
|
|
|
"lint:fix": "./vendor/bin/phpcbf src",
|
|
|
|
"lint": [
|
|
|
|
"@phpcs",
|
|
|
|
"@phpmd",
|
|
|
|
"@phpstan"
|
|
|
|
],
|
|
|
|
"verify": [
|
|
|
|
"@lint",
|
|
|
|
"@phpunit"
|
|
|
|
],
|
|
|
|
"models": "@php bin/retailcrm-client models:generate --all"
|
2013-07-04 11:57:37 +04:00
|
|
|
},
|
|
|
|
"support": {
|
2020-12-15 13:32:52 +03:00
|
|
|
"email": "support@retailcrm.pro"
|
2013-07-04 11:57:37 +04:00
|
|
|
},
|
|
|
|
"autoload": {
|
2021-06-02 17:00:32 +03:00
|
|
|
"psr-4": {
|
|
|
|
"RetailCrm\\Api\\": "src/"
|
|
|
|
}
|
2013-07-04 11:57:37 +04:00
|
|
|
},
|
2021-06-02 17:00:32 +03:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"RetailCrm\\TestUtils\\": "tests/utils/",
|
|
|
|
"RetailCrm\\Tests\\": "tests/src/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"bin": [
|
|
|
|
"bin/retailcrm-client"
|
|
|
|
],
|
2013-07-04 11:57:37 +04:00
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
2021-06-02 17:00:32 +03:00
|
|
|
"dev-master": "6.x-dev"
|
|
|
|
},
|
|
|
|
"compile": [
|
|
|
|
{
|
|
|
|
"run": "@composer run-script models"
|
|
|
|
}
|
|
|
|
]
|
2014-11-10 03:12:50 +03:00
|
|
|
},
|
|
|
|
"config": {
|
2019-08-30 14:10:52 +03:00
|
|
|
"bin-dir": "vendor/bin",
|
2022-04-06 14:25:28 +03:00
|
|
|
"process-timeout": 600,
|
|
|
|
"allow-plugins": {
|
|
|
|
"civicrm/composer-compile-plugin": true,
|
2023-02-27 16:08:34 +03:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
|
|
"php-http/discovery": true
|
2022-04-06 14:25:28 +03:00
|
|
|
}
|
2013-07-04 11:57:37 +04:00
|
|
|
}
|
2021-07-21 14:37:45 +03:00
|
|
|
}
|