forked from webonyx/graphql-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
61 lines (61 loc) · 1.69 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
{
"name": "webonyx/graphql-php",
"description": "A PHP port of GraphQL reference implementation",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/webonyx/graphql-php",
"keywords": [
"graphql",
"API"
],
"require": {
"php": "^7.1||^8.0",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"amphp/amp": "^2.3",
"doctrine/coding-standard": "^6.0",
"nyholm/psr7": "^1.2",
"phpbench/phpbench": "^0.14",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "0.12.18",
"phpstan/phpstan-phpunit": "0.12.6",
"phpstan/phpstan-strict-rules": "0.12.2",
"phpunit/phpunit": "^7.2|^8.5",
"psr/http-message": "^1.0",
"react/promise": "2.*",
"simpod/php-coveralls-mirror": "^3.0",
"squizlabs/php_codesniffer": "3.5.4"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"autoload": {
"psr-4": {
"GraphQL\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GraphQL\\Tests\\": "tests/",
"GraphQL\\Benchmarks\\": "benchmarks/",
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
}
},
"suggest": {
"react/promise": "To leverage async resolving on React PHP platform",
"psr/http-message": "To use standard GraphQL server"
},
"scripts": {
"api-docs": "php tools/gendocs.php",
"bench": "phpbench run .",
"test": "phpunit",
"lint" : "phpcs",
"fix" : "phpcbf",
"stan": "phpstan analyse --ansi --memory-limit 2048M",
"phpstan-baseline": "phpstan analyse --ansi --generate-baseline",
"check": "composer lint && composer stan && composer test"
}
}