{
  "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 || ^3",
    "amphp/http-server": "^2.1 || ^3",
    "dms/phpunit-arraysubset-asserts": "dev-master",
    "ergebnis/composer-normalize": "^2.28",
    "friendsofphp/php-cs-fixer": "3.95.1",
    "mll-lab/php-cs-fixer-config": "5.13.0",
    "nyholm/psr7": "^1.5",
    "phpbench/phpbench": "^1.2",
    "phpstan/extension-installer": "^1.1",
    "phpstan/phpstan": "2.1.51",
    "phpstan/phpstan-phpunit": "2.0.16",
    "phpstan/phpstan-strict-rules": "2.0.10",
    "phpunit/phpunit": "^9.5 || ^10.5.21 || ^11",
    "psr/http-message": "^1 || ^2",
    "react/http": "^1.6",
    "react/promise": "^2.0 || ^3.0",
    "rector/rector": "^2.0",
    "symfony/polyfill-php81": "^1.23",
    "symfony/var-exporter": "^5 || ^6 || ^7 || ^8",
    "thecodingmachine/safe": "^1.3 || ^2 || ^3",
    "ticketswap/phpstan-error-formatter": "1.3.0"
  },
  "suggest": {
    "amphp/amp": "To leverage async resolving on AMPHP platform (v3 with AmpFutureAdapter, v2 with AmpPromiseAdapter)",
    "amphp/http-server": "To leverage async resolving with webserver on AMPHP platform",
    "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": {
    "baseline": "phpstan --generate-baseline",
    "bench": "php -d zend.assertions=-1 vendor/bin/phpbench run --report=default",
    "check": [
      "@fix",
      "@stan",
      "@test"
    ],
    "docs": "php generate-class-reference.php",
    "fix": [
      "@rector",
      "@php-cs-fixer"
    ],
    "php-cs-fixer": "make php-cs-fixer",
    "rector": "rector process",
    "stan": "phpstan --verbose",
    "test": "php -d zend.exception_ignore_args=0 -d zend.assertions=1 -d assert.active=1 -d assert.exception=1 vendor/bin/phpunit"
  }
}
