2015-07-15 20:05:46 +03:00
|
|
|
{
|
|
|
|
"name": "webonyx/graphql-php",
|
2015-08-31 23:02:54 +03:00
|
|
|
"description": "A PHP port of GraphQL reference implementation",
|
2015-07-15 20:05:46 +03:00
|
|
|
"type": "library",
|
2018-01-19 10:12:52 +03:00
|
|
|
"license": "MIT",
|
2015-07-15 20:05:46 +03:00
|
|
|
"homepage": "https://github.com/webonyx/graphql-php",
|
|
|
|
"keywords": [
|
|
|
|
"graphql",
|
|
|
|
"API"
|
|
|
|
],
|
|
|
|
"require": {
|
2018-03-09 17:03:52 +03:00
|
|
|
"php": ">=5.6",
|
2016-11-12 11:59:05 +03:00
|
|
|
"ext-mbstring": "*"
|
2015-07-15 20:05:46 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2017-08-19 18:58:44 +03:00
|
|
|
"phpunit/phpunit": "^4.8",
|
|
|
|
"psr/http-message": "^1.0"
|
2015-07-15 20:05:46 +03:00
|
|
|
},
|
|
|
|
"config": {
|
2018-03-09 17:03:52 +03:00
|
|
|
"bin-dir": "bin",
|
|
|
|
"preferred-install": "dist",
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
2015-07-15 20:05:46 +03:00
|
|
|
"autoload": {
|
2016-04-09 10:15:45 +03:00
|
|
|
"psr-4": {
|
|
|
|
"GraphQL\\": "src/"
|
|
|
|
}
|
2015-07-15 20:05:46 +03:00
|
|
|
},
|
|
|
|
"autoload-dev": {
|
2016-04-09 10:36:53 +03:00
|
|
|
"psr-4": {
|
2016-04-28 16:21:24 +03:00
|
|
|
"GraphQL\\Tests\\": "tests/",
|
2016-10-21 14:43:11 +03:00
|
|
|
"GraphQL\\Benchmarks\\": "benchmarks/",
|
|
|
|
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
|
2016-04-09 10:36:53 +03:00
|
|
|
}
|
2016-11-26 22:45:49 +03:00
|
|
|
},
|
2018-08-23 09:34:49 +03:00
|
|
|
"scripts": {
|
|
|
|
"static-analysis": [
|
|
|
|
"rm phpstan.phar || true",
|
|
|
|
"@composer req --ansi --no-interaction --dev phpstan/phpstan-shim",
|
|
|
|
"cp -f vendor/phpstan/phpstan-shim/phpstan.phar .",
|
|
|
|
"@composer rem --ansi --dev phpstan/phpstan-shim",
|
|
|
|
"@php phpstan.phar analyse --ansi -l 1 -c phpstan.neon src"
|
|
|
|
]
|
|
|
|
},
|
2016-11-26 22:45:49 +03:00
|
|
|
"suggest": {
|
2017-08-15 17:56:21 +03:00
|
|
|
"react/promise": "To leverage async resolving on React PHP platform",
|
|
|
|
"psr/http-message": "To use standard GraphQL server"
|
2015-07-15 20:05:46 +03:00
|
|
|
}
|
|
|
|
}
|