forked from elastic/elasticsearch-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
58 lines (58 loc) · 1.44 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
{
"name": "elasticsearch/elasticsearch",
"description": "PHP Client for Elasticsearch",
"keywords": ["search","client", "elasticsearch"],
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Zachary Tong"
},
{
"name": "Enrico Zimuel"
}
],
"require": {
"php": "^7.3 || ^8.0",
"ext-json": ">=1.3.7",
"ezimuel/ringphp": "^1.1.2",
"psr/log": "~1.0"
},
"require-dev": {
"ext-yaml": "*",
"ext-zip": "*",
"mockery/mockery": "^1.2",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^9.3",
"squizlabs/php_codesniffer": "^3.4",
"symfony/finder": "~4.0"
},
"suggest": {
"ext-curl": "*",
"monolog/monolog": "Allows for client-level logging and tracing"
},
"autoload": {
"psr-4": {
"Elasticsearch\\": "src/Elasticsearch/"
}
},
"autoload-dev": {
"psr-4": {
"Elasticsearch\\Tests\\": "tests/Elasticsearch/Tests/",
"Elasticsearch\\IntegrationTests\\": "tests/Elasticsearch/IntegrationTests/",
"Elasticsearch\\Util\\": "util/"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"phpcs": [
"phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp src",
"phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp tests --ignore=tests/Elasticsearch/Tests/Yaml"
],
"phpstan": [
"phpstan analyse src --level 2 --no-progress"
]
}
}