{
  "name": "webonyx/graphql-php",
  "type": "library",
  "description": "A PHP port of GraphQL reference implementation",
  "keywords": [
    "graphql",
    "API"
  ],
  "homepage": "https://github.com/webonyx/graphql-php",
  "license": "MIT",
  "require": {
    "php": "^7.1 || ^8",
    "ext-json": "*",
    "ext-mbstring": "*"
  },
  "require-dev": {
    "amphp/amp": "^2.3",
    "doctrine/coding-standard": "^6.0",
    "nyholm/psr7": "^1.2",
    "phpbench/phpbench": "^1.2",
    "phpstan/extension-installer": "^1.0",
    "phpstan/phpstan": "0.12.82",
    "phpstan/phpstan-phpunit": "0.12.18",
    "phpstan/phpstan-strict-rules": "0.12.9",
    "phpunit/phpunit": "^7.2 || ^8.5",
    "psr/http-message": "^1.0",
    "react/promise": "2.*",
    "simpod/php-coveralls-mirror": "^3.0"
  },
  "suggest": {
    "psr/http-message": "To use standard GraphQL server",
    "react/promise": "To leverage async resolving on React PHP platform"
  },
  "config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true,
      "ergebnis/composer-normalize": true
    }
  },
  "autoload": {
    "psr-4": {
      "GraphQL\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "GraphQL\\Tests\\": "tests/",
      "GraphQL\\Benchmarks\\": "benchmarks/",
      "GraphQL\\Examples\\Blog\\": "examples/01-blog/Blog/"
    }
  },
  "scripts": {
    "api-docs": "php tools/gendocs.php",
    "baseline": "phpstan --ansi --generate-baseline",
    "bench": "phpbench run",
    "check": "composer stan && composer test",
    "fix": "composer normalize",
    "stan": "phpstan --ansi",
    "test": "phpunit"
  }
}
