{
  "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",
    "dms/phpunit-arraysubset-asserts": "^0.4",
    "ergebnis/composer-normalize": "^2.28",
    "mll-lab/php-cs-fixer-config": "^4.4",
    "nyholm/psr7": "^1.5",
    "phpbench/phpbench": "^1.2",
    "phpstan/extension-installer": "^1.1",
    "phpstan/phpstan": "1.9.14",
    "phpstan/phpstan-phpunit": "1.3.3",
    "phpstan/phpstan-strict-rules": "1.4.5",
    "phpunit/phpunit": "^9.5",
    "psr/http-message": "^1",
    "react/http": "^1.6",
    "react/promise": "^2.9",
    "symfony/polyfill-php81": "^1.23",
    "symfony/var-exporter": "^5 || ^6",
    "thecodingmachine/safe": "^1.3 || ^2"
  },
  "suggest": {
    "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": {
    "bench": "phpbench run",
    "check": "composer fix && composer stan && composer test",
    "docs": "php generate-class-reference.php",
    "fix": "php-cs-fixer fix",
    "stan": "phpstan",
    "test": "phpunit"
  }
}
