forked from meilisearch/meilisearch-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
74 lines (74 loc) · 2.06 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
{
"name": "meilisearch/meilisearch-php",
"description": "PHP wrapper for the Meilisearch API",
"keywords": [
"meilisearch",
"instant",
"search",
"api",
"client",
"php"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Clementine Urquizar",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*",
"php-http/discovery": "^1.7",
"php-http/httplug": "^2.1",
"php-http/client-common": "^2.0"
},
"autoload": {
"psr-4": {
"MeiliSearch\\": "src/",
"Meilisearch\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"suggest": {
"guzzlehttp/guzzle": "Use Guzzle ^7 as HTTP client",
"http-interop/http-factory-guzzle": "Factory for guzzlehttp/guzzle"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3.0",
"guzzlehttp/guzzle": "^7.1",
"http-interop/http-factory-guzzle": "^1.0",
"phpstan/phpstan": "1.10.14",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-strict-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0"
},
"scripts": {
"lint": [
"./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --config=.php-cs-fixer.dist.php --using-cache=no --dry-run --diff"
],
"lint:fix": [
"./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --config=.php-cs-fixer.dist.php --using-cache=no --diff"
],
"phpstan": [
"php -d memory_limit=256M ./vendor/bin/phpstan"
],
"test": [
"sh scripts/tests.sh"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"php-http/discovery": true
}
}
}