webonyx / graphql-php
A PHP port of GraphQL reference implementation
Fund package maintenance!
Open Collective
Installs: 53 591 768
Dependents: 316
Suggesters: 14
Security: 0
Stars: 4 642
Watchers: 112
Forks: 566
Open Issues: 51
Requires
- php: ^7.4 || ^8
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- amphp/amp: ^2.6
- amphp/http-server: ^2.1
- dms/phpunit-arraysubset-asserts: dev-master
- ergebnis/composer-normalize: ^2.28
- friendsofphp/php-cs-fixer: 3.64.0
- mll-lab/php-cs-fixer-config: ^5.9.2
- nyholm/psr7: ^1.5
- phpbench/phpbench: ^1.2
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: 1.12.10
- phpstan/phpstan-phpunit: 1.4.1
- phpstan/phpstan-strict-rules: 1.6.1
- 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: ^1.0
- symfony/polyfill-php81: ^1.23
- symfony/var-exporter: ^5 || ^6 || ^7
- thecodingmachine/safe: ^1.3 || ^2
Suggests
- 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
- dev-master
- v15.18.1
- v15.18.0
- v15.17.0
- v15.16.1
- v15.16.0
- v15.15.0
- v15.14.3
- v15.14.2
- v15.14.1
- v15.14.0
- v15.13.0
- v15.12.5
- v15.12.4
- v15.12.3
- v15.12.2
- v15.12.1
- v15.12.0
- v15.11.2
- v15.11.1
- v15.11.0
- v15.10.0
- v15.9.1
- v15.9.0
- v15.8.1
- v15.8.0
- v15.7.0
- v15.6.3
- v15.6.2
- v15.6.1
- v15.6.0
- v15.5.3
- v15.5.2
- v15.5.1
- v15.5.0
- v15.4.0
- v15.3.2
- v15.3.1
- v15.3.0
- v15.2.5
- v15.2.4
- v15.2.3
- v15.2.2
- v15.2.1
- v15.2.0
- v15.1.0
- v15.0.3
- v15.0.2
- v15.0.1
- v15.0.0
- v15.0.0-beta.1
- v15.0.0-alpha.2
- v15.0.0-alpha.1
- 14.x-dev
- v14.11.10
- v14.11.9
- v14.11.8
- v14.11.7
- v14.11.6
- v14.11.5
- v14.11.4
- v14.11.3
- v14.11.2
- v14.11.1
- v14.11.0
- 14.10.0
- v14.9.0
- v14.8.0
- v14.7.0
- v14.6.4
- v14.6.3
- v14.6.2
- v14.6.1
- v14.6.0
- v14.5.1
- v14.5.0
- v14.4.1
- v14.4.0
- v14.3.0
- v14.2.0
- v14.1.1
- v14.1.0
- v14.0.2
- v14.0.1
- v14.0.0
- 0.13.x-dev
- v0.13.9
- v0.13.8
- v0.13.7
- v0.13.6
- v0.13.5
- v0.13.4
- v0.13.3
- v0.13.2
- v0.13.1
- v0.13.0
- v0.12.6
- v0.12.5
- v0.12.4
- v0.12.3
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.6
- v0.11.5
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.2
- v0.10.1
- v0.10.0
- v0.10.0-rc1
- v0.9.14
- v0.9.13
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.9
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5
- v0.4
- v0.3
- v0.2
- v0.1
- dev-renovate/major-phpstan
- dev-renovate/phpstan
- dev-respect-warning-settings-before-custom-handler
- dev-const-value-node
- dev-nodelist-array-access
- dev-renovate/amphp-amp-3.x
- dev-update-kitchen-sink
- dev-parse-operation-params
- dev-optional-root-query-operation-type
- dev-validate-default-values-match-argument-type
This package is auto-updated.
Last update: 2024-11-18 09:53:22 UTC
README
This is a PHP implementation of the GraphQL specification based on the reference implementation in JavaScript.
Installation
Via composer:
composer require webonyx/graphql-php
Documentation
Full documentation is available at https://webonyx.github.io/graphql-php or in the docs directory.
Examples
There are several ready examples in the examples directory, with a specific README file per example.
Versioning
This project follows Semantic Versioning 2.0.0.
Elements that belong to the public API of this package are marked with the @api
PHPDoc tag.
Those elements are thus guaranteed to be stable within major versions. All other elements are
not part of this backwards compatibility guarantee and may change between minor or patch versions.
The most recent version is actively developed on master
.
Older versions are generally no longer supported, although exceptions may be made for sponsors.
Security
For security related issues, email benedikt@franke.tech instead of opening a GitHub issue.
Contributors
This project exists thanks to all the people who contribute.
Backers
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.
License
See LICENSE.