1{
2  "name": "elasticsearch/elasticsearch",
3  "description": "PHP Client for Elasticsearch",
4  "keywords": ["search","client", "elasticsearch"],
5  "type": "library",
6  "license": "Apache-2.0",
7  "authors": [
8    {
9        "name": "Zachary Tong"
10    },
11    {
12        "name": "Enrico Zimuel"
13    }
14  ],
15  "require": {
16    "php": "^7.3 || ^8.0",
17    "ext-json": ">=1.3.7",
18    "ezimuel/ringphp": "^1.1.2",
19    "psr/log": "^1|^2"
20  },
21  "require-dev": {
22    "ext-yaml": "*",
23    "ext-zip": "*",
24    "mockery/mockery": "^1.2",
25    "phpstan/phpstan": "^0.12",
26    "phpunit/phpunit": "^9.3",
27    "squizlabs/php_codesniffer": "^3.4",
28    "symfony/finder": "~4.0"
29  },
30  "suggest": {
31    "ext-curl": "*",
32    "monolog/monolog": "Allows for client-level logging and tracing"
33  },
34  "autoload": {
35    "files": [
36      "src/autoload.php"
37    ],
38    "psr-4": {
39      "Elasticsearch\\": "src/Elasticsearch/"
40    }
41  },
42  "autoload-dev": {
43    "psr-4": {
44      "Elasticsearch\\Tests\\": "tests/Elasticsearch/Tests/",
45      "Elasticsearch\\IntegrationTests\\": "tests/Elasticsearch/IntegrationTests/",
46      "Elasticsearch\\Util\\": "util/"
47    }
48  },
49  "config": {
50    "sort-packages": true
51  },
52  "scripts": {
53    "phpcs": [
54      "phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp src --ignore=src/Elasticsearch/Endpoints",
55      "phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp tests --ignore=tests/Elasticsearch/Tests/Yaml"
56    ],
57    "phpstan": [
58      "phpstan analyse src --level 2 --no-progress"
59    ]
60  }
61}
62