forked from opensearch-project/opensearch-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
91 lines (91 loc) · 1.94 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
{
"name": "opensearch-project/opensearch-php",
"description": "PHP Client for OpenSearch",
"keywords": [
"search",
"client",
"opensearch",
"elasticsearch"
],
"type": "library",
"license": [
"Apache-2.0",
"LGPL-2.1-only"
],
"authors": [
{
"name": "Elastic"
},
{
"name": "OpenSearch Contributors"
}
],
"require": {
"php": "^8.0",
"ext-json": ">=1.3.7",
"ext-curl": "*",
"ezimuel/ringphp": "^1.2.2",
"psr/log": "^1|^2|^3",
"symfony/yaml": "*"
},
"require-dev": {
"ext-zip": "*",
"aws/aws-sdk-php": "^3.0",
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.2",
"phpstan/phpstan": "^1.7.15",
"phpstan/phpstan-mockery": "^1.1.0",
"phpunit/phpunit": "^9.3",
"symfony/finder": "~4.0 || ~5.0"
},
"suggest": {
"monolog/monolog": "Allows for client-level logging and tracing",
"aws/aws-sdk-php": "Required (^3.0.0) in order to use the SigV4 handler"
},
"autoload": {
"psr-4": {
"OpenSearch\\": "src/OpenSearch/"
}
},
"autoload-dev": {
"psr-4": {
"OpenSearch\\Tests\\": "tests/",
"OpenSearch\\Util\\": "util/"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"php-cs": [
"php-cs-fixer fix"
],
"phpstan": [
"phpstan analyse --no-progress"
],
"unit": [
"phpunit --exclude-group Integration"
],
"integration": [
"phpunit --group Integration"
],
"integration-min": [
"phpunit --group Integration-Min"
],
"phpunit": [
"phpunit"
],
"apigen": [
"rm -f apigen",
"curl -L https://github.com/ApiGen/ApiGen/releases/download/v7.0.0-alpha.4/apigen.phar -o apigen",
"chmod +x apigen",
"./apigen src --output docs",
"rm -f apigen"
],
"generate-api": [
"php util/GenerateEndpoints.php",
"composer run php-cs",
"php util/changelog_updater.php"
]
}
}