2015-07-15 23:05:46 +06:00
|
|
|
{
|
|
|
|
"name": "webonyx/graphql-php",
|
2015-09-01 02:02:54 +06:00
|
|
|
"description": "A PHP port of GraphQL reference implementation",
|
2015-07-15 23:05:46 +06:00
|
|
|
"type": "library",
|
2018-01-19 14:12:52 +07:00
|
|
|
"license": "MIT",
|
2015-07-15 23:05:46 +06:00
|
|
|
"homepage": "https://github.com/webonyx/graphql-php",
|
|
|
|
"keywords": [
|
|
|
|
"graphql",
|
|
|
|
"API"
|
|
|
|
],
|
|
|
|
"require": {
|
2018-06-15 23:49:40 +02:00
|
|
|
"php": "^7.1",
|
2018-08-13 10:36:03 +02:00
|
|
|
"ext-json": "*",
|
2016-11-12 09:59:05 +01:00
|
|
|
"ext-mbstring": "*"
|
2015-07-15 23:05:46 +06:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2018-09-26 11:05:01 +02:00
|
|
|
"doctrine/coding-standard": "^5.0",
|
2018-09-26 11:18:02 +02:00
|
|
|
"phpbench/phpbench": "^0.14.0",
|
2018-10-22 22:40:19 +02:00
|
|
|
"phpstan/phpstan": "0.10.5",
|
|
|
|
"phpstan/phpstan-phpunit": "0.10.0",
|
|
|
|
"phpstan/phpstan-strict-rules": "0.10.1",
|
2018-12-30 06:51:55 +07:00
|
|
|
"phpunit/phpcov": "^5.0",
|
2018-08-08 00:13:21 +07:00
|
|
|
"phpunit/phpunit": "^7.2",
|
2018-08-28 11:28:57 +02:00
|
|
|
"psr/http-message": "^1.0",
|
|
|
|
"react/promise": "2.*"
|
2015-07-15 23:05:46 +06:00
|
|
|
},
|
|
|
|
"config": {
|
2018-03-09 15:03:52 +01:00
|
|
|
"preferred-install": "dist",
|
|
|
|
"sort-packages": true
|
2018-07-25 16:51:01 +02:00
|
|
|
},
|
2015-07-15 23:05:46 +06:00
|
|
|
"autoload": {
|
2016-04-09 09:15:45 +02:00
|
|
|
"psr-4": {
|
|
|
|
"GraphQL\\": "src/"
|
|
|
|
}
|
2015-07-15 23:05:46 +06:00
|
|
|
},
|
|
|
|
"autoload-dev": {
|
2016-04-09 09:36:53 +02:00
|
|
|
"psr-4": {
|
2016-04-28 19:21:24 +06:00
|
|
|
"GraphQL\\Tests\\": "tests/",
|
2016-10-21 18:43:11 +07:00
|
|
|
"GraphQL\\Benchmarks\\": "benchmarks/",
|
|
|
|
"GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
|
2016-04-09 09:36:53 +02:00
|
|
|
}
|
2016-11-26 20:45:49 +01:00
|
|
|
},
|
|
|
|
"suggest": {
|
2017-08-15 21:56:21 +07:00
|
|
|
"react/promise": "To leverage async resolving on React PHP platform",
|
|
|
|
"psr/http-message": "To use standard GraphQL server"
|
2018-06-21 10:18:34 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-11-22 19:57:53 +07:00
|
|
|
"api-docs": "php tools/gendocs.php",
|
|
|
|
"bench": "phpbench run .",
|
|
|
|
"test": "phpunit",
|
2018-08-28 11:28:57 +02:00
|
|
|
"lint" : "phpcs",
|
2018-11-22 19:57:53 +07:00
|
|
|
"fix-style" : "phpcbf",
|
|
|
|
"static-analysis": "phpstan analyse --ansi --memory-limit 256M",
|
|
|
|
"check-all": "composer lint && composer static-analysis && composer test"
|
2015-07-15 23:05:46 +06:00
|
|
|
}
|
|
|
|
}
|