-
-
Notifications
You must be signed in to change notification settings - Fork 564
/
composer.json
82 lines (82 loc) · 2.32 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
{
"name": "webonyx/graphql-php",
"description": "A PHP port of GraphQL reference implementation",
"license": "MIT",
"type": "library",
"keywords": [
"graphql",
"API"
],
"homepage": "https://github.com/webonyx/graphql-php",
"require": {
"php": "^7.4 || ^8",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"amphp/amp": "^2.6",
"amphp/http-server": "^2.1",
"dms/phpunit-arraysubset-asserts": "dev-master",
"ergebnis/composer-normalize": "^2.28",
"friendsofphp/php-cs-fixer": "3.64.0",
"mll-lab/php-cs-fixer-config": "^5.9.2",
"nyholm/psr7": "^1.5",
"phpbench/phpbench": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "1.12.8",
"phpstan/phpstan-phpunit": "1.4.0",
"phpstan/phpstan-strict-rules": "1.6.1",
"phpunit/phpunit": "^9.5 || ^10.5.21 || ^11",
"psr/http-message": "^1 || ^2",
"react/http": "^1.6",
"react/promise": "^2.0 || ^3.0",
"rector/rector": "^1.0",
"symfony/polyfill-php81": "^1.23",
"symfony/var-exporter": "^5 || ^6 || ^7",
"thecodingmachine/safe": "^1.3 || ^2"
},
"suggest": {
"amphp/http-server": "To leverage async resolving with webserver on AMPHP platform",
"psr/http-message": "To use standard GraphQL server",
"react/promise": "To leverage async resolving on React PHP platform"
},
"autoload": {
"psr-4": {
"GraphQL\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GraphQL\\Benchmarks\\": "benchmarks/",
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/",
"GraphQL\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"baseline": "phpstan --generate-baseline",
"bench": "phpbench run",
"check": [
"@fix",
"@stan",
"@test"
],
"docs": "php generate-class-reference.php",
"fix": [
"@rector",
"@php-cs-fixer"
],
"php-cs-fixer": "php-cs-fixer fix",
"rector": "rector process",
"stan": "phpstan --verbose",
"test": "php -d zend.exception_ignore_args=Off -d zend.assertions=On -d assert.active=On -d assert.exception=On vendor/bin/phpunit"
}
}