2015-07-15 19:51:22 +03:00
|
|
|
# graphql-php
|
2015-10-17 21:55:12 +03:00
|
|
|
[![Build Status](https://travis-ci.org/webonyx/graphql-php.svg?branch=master)](https://travis-ci.org/webonyx/graphql-php)
|
2016-11-01 13:54:21 +03:00
|
|
|
[![Coverage Status](https://coveralls.io/repos/github/webonyx/graphql-php/badge.svg)](https://coveralls.io/github/webonyx/graphql-php)
|
|
|
|
[![Latest Stable Version](https://poser.pugx.org/webonyx/graphql-php/version)](https://packagist.org/packages/webonyx/graphql-php)
|
|
|
|
[![License](https://poser.pugx.org/webonyx/graphql-php/license)](https://packagist.org/packages/webonyx/graphql-php)
|
2015-10-17 21:55:12 +03:00
|
|
|
|
2017-08-22 13:24:17 +03:00
|
|
|
This is a PHP implementation of the GraphQL [specification](https://github.com/facebook/graphql)
|
|
|
|
based on the [reference implementation in JavaScript](https://github.com/graphql/graphql-js).
|
2016-04-09 11:04:14 +03:00
|
|
|
|
2017-08-22 13:05:54 +03:00
|
|
|
## Installation
|
|
|
|
Via composer:
|
2016-04-09 11:04:14 +03:00
|
|
|
```
|
2017-08-22 13:05:54 +03:00
|
|
|
composer require webonyx/graphql-php
|
2016-04-09 11:04:14 +03:00
|
|
|
```
|
|
|
|
|
2017-08-22 13:05:54 +03:00
|
|
|
## Documentation
|
2017-08-22 13:11:48 +03:00
|
|
|
Full documentation is available on the [Documentation site](http://webonyx.github.io/graphql-php/) as well
|
|
|
|
as in the [docs](docs/) folder of the distribution.
|
2017-06-17 16:01:37 +03:00
|
|
|
|
2017-08-22 13:24:17 +03:00
|
|
|
If you don't know what GraphQL is, visit this [official website](http://graphql.org)
|
|
|
|
by the Facebook engineering team.
|
|
|
|
|
2017-08-22 13:05:54 +03:00
|
|
|
## Examples
|
2017-08-22 13:11:48 +03:00
|
|
|
There are several ready examples in the [examples](examples/) folder of the distribution with specific
|
2017-08-22 13:05:54 +03:00
|
|
|
README file per example.
|
2017-06-17 16:01:37 +03:00
|
|
|
|
2017-08-22 13:05:54 +03:00
|
|
|
## Contribute
|
|
|
|
Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute.
|
2016-02-24 20:47:57 +03:00
|
|
|
|
2017-08-22 13:11:48 +03:00
|
|
|
## Old README.md
|
|
|
|
Here is a [link to the old README.md](https://github.com/webonyx/graphql-php/blob/v0.9.14/README.md).
|
2016-02-24 20:47:57 +03:00
|
|
|
|
2017-08-22 13:11:48 +03:00
|
|
|
Keep in mind that it relates to the version 0.9.x. It may contain outdated information for
|
|
|
|
newer versions (even though we try to preserve backwards compatibility).
|