This is a PHP implementation of the GraphQL specification based on the reference implementation in JavaScript.
Via composer:
composer require webonyx/graphql-php
Full documentation is available at https://webonyx.github.io/graphql-php or in the docs directory.
There are several ready examples in the examples directory, with a specific README file per example.
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.
For security related issues, email [email protected] instead of opening a GitHub issue.
This project exists thanks to all the people who contribute.
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor.
See LICENSE.