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.
If you don't know what GraphQL is, visit the official website first.
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
and will be released as 15.x
. The current stable version 14.x
receives bug fixes only.
Older versions are no longer supported.
This project exists thanks to all the people who contribute. [Contribute].
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]