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": {
|
2019-02-08 17:08:11 +03:00
|
|
|
"php": "^7.1||^8.0",
|
2018-08-13 11:36:03 +03:00
|
|
|
"ext-json": "*",
|
2016-11-12 11:59:05 +03:00
|
|
|
"ext-mbstring": "*"
|
2015-07-15 20:05:46 +03:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2019-03-28 13:39:12 +03:00
|
|
|
"doctrine/coding-standard": "^6.0",
|
2018-09-26 12:18:02 +03:00
|
|
|
"phpbench/phpbench": "^0.14.0",
|
2019-07-10 17:46:07 +03:00
|
|
|
"phpstan/phpstan": "^0.11.12",
|
2019-06-12 11:22:18 +03:00
|
|
|
"phpstan/phpstan-phpunit": "^0.11.2",
|
|
|
|
"phpstan/phpstan-strict-rules": "^0.11.1",
|
2018-12-30 02:51:55 +03:00
|
|
|
"phpunit/phpcov": "^5.0",
|
2018-08-07 20:13:21 +03:00
|
|
|
"phpunit/phpunit": "^7.2",
|
2018-08-28 12:28:57 +03:00
|
|
|
"psr/http-message": "^1.0",
|
|
|
|
"react/promise": "2.*"
|
2015-07-15 20:05:46 +03:00
|
|
|
},
|
|
|
|
"config": {
|
2018-03-09 17:03:52 +03:00
|
|
|
"preferred-install": "dist",
|
|
|
|
"sort-packages": true
|
2018-07-25 17:51:01 +03:00
|
|
|
},
|
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
|
|
|
},
|
|
|
|
"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"
|
2018-06-21 11:18:34 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-11-22 15:57:53 +03:00
|
|
|
"api-docs": "php tools/gendocs.php",
|
|
|
|
"bench": "phpbench run .",
|
|
|
|
"test": "phpunit",
|
2018-08-28 12:28:57 +03:00
|
|
|
"lint" : "phpcs",
|
2018-11-22 15:57:53 +03:00
|
|
|
"fix-style" : "phpcbf",
|
|
|
|
"static-analysis": "phpstan analyse --ansi --memory-limit 256M",
|
|
|
|
"check-all": "composer lint && composer static-analysis && composer test"
|
2015-07-15 20:05:46 +03:00
|
|
|
}
|
|
|
|
}
|